def VIDEOLINKSBTV(mname,murl): main.GA("BTV-GUIDE","Watched") murl=murl+'/watch-online' link=main.OPENURL(murl) link=link.replace('\r','').replace('\n','').replace('\t','') match=re.compile('<a class="clickfreehoney" rel="nofollow" href="(.+?)" style=".+?">.+?</span> on (.+?)<br/>').findall(link) for url,host in match: gorillavid=re.compile('gorillavid').findall(host) if len(gorillavid) > 0: main.addPlayb(mname+' '+host,url,563,"%s/art/gorillavid.png"%selfAddon.getAddonInfo("path"),"%s/art/gorillavid.png"%selfAddon.getAddonInfo("path")) daclips=re.compile('daclips').findall(host) if len(daclips) > 0: main.addPlayb(mname+' '+host,url,563,"%s/art/daclips.png"%selfAddon.getAddonInfo("path"),"%s/art/daclips.png"%selfAddon.getAddonInfo("path")) movpod=re.compile('movpod').findall(host) if len(movpod) > 0: main.addPlayb(mname+' '+host,url,563,"%s/art/movpod.png"%selfAddon.getAddonInfo("path"),"%s/art/movpod.png"%selfAddon.getAddonInfo("path")) divxstage=re.compile('divxstage').findall(host) if len(divxstage) > 0: main.addPlayb(mname+' '+host,url,563,"%s/art/divxstage.png"%selfAddon.getAddonInfo("path"),"%s/art/divxstage.png"%selfAddon.getAddonInfo("path")) nowvideo=re.compile('nowvideo').findall(host) if len(nowvideo) > 0: main.addPlayb(mname+' '+host,url,563,"%s/art/nowvideo.png"%selfAddon.getAddonInfo("path"),"%s/art/nowvideo.png"%selfAddon.getAddonInfo("path")) movshare=re.compile('movshare').findall(host) if len(movshare) > 0: main.addPlayb(mname+' '+host,url,563,"%s/art/movshare.png"%selfAddon.getAddonInfo("path"),"%s/art/movshare.png"%selfAddon.getAddonInfo("path")) flashx=re.compile('flashx').findall(host) if len(flashx) > 0: main.addPlayb(mname+' '+host,url,563,"%s/art/flash.png"%selfAddon.getAddonInfo("path"),"%s/art/flash.png"%selfAddon.getAddonInfo("path")) filenuke=re.compile('filenuke').findall(host) if len(filenuke) > 0: main.addPlayb(mname+' '+host,url,563,"%s/art/fn.png"%selfAddon.getAddonInfo("path"),"%s/art/fn.png"%selfAddon.getAddonInfo("path")) vidxden=re.compile('vidxden').findall(host) if len(vidxden) > 0: main.addPlayb(mname+' '+host,url,563,"%s/art/vidx.png"%selfAddon.getAddonInfo("path"),"%s/art/vidx.png"%selfAddon.getAddonInfo("path")) vidbux=re.compile('vidbux').findall(host) if len(vidbux) > 0: main.addPlayb(mname+' '+host,url,563,"%s/art/vidb.png"%selfAddon.getAddonInfo("path"),"%s/art/vidb.png"%selfAddon.getAddonInfo("path"))
def LINKSP(name,url): link=main.OPENURL(url) putlocker=re.compile('<a href="(.+?)">putlocker.com</a><br />').findall(link) for url in putlocker: match=re.compile('http://pastebin.com/.+?').findall(url) if (len(match) > 0): link=main.OPENURL(url) main.addLink('If list is empty,means the links are downloadable only','','') else: main.addPlayb(name,url,134,"%s/art/put.png"%selfAddon.getAddonInfo("path"),"%s/art/put.png"%selfAddon.getAddonInfo("path")) flashx=re.compile('<a href="(.+?)">flashx.tv</a><br />').findall(link) for url in flashx: main.addPlayb(name,url,134,"%s/art/flash.png"%selfAddon.getAddonInfo("path"),"%s/art/flash.png"%selfAddon.getAddonInfo("path")) nowvideo=re.compile('<a href="(.+?)">nowvideo.eu</a><br />').findall(link) for url in nowvideo: main.addPlayb(name,url,134,"%s/art/nov.png"%selfAddon.getAddonInfo("path"),"%s/art/nov.png"%selfAddon.getAddonInfo("path")) uploadc=re.compile('<a href="(.+?)">uploadc.com</a><br />').findall(link) for url in uploadc: main.addPlayb(name,url,134,"%s/art/uc.png"%selfAddon.getAddonInfo("path"),"%s/art/uc.png"%selfAddon.getAddonInfo("path")) vidxden=re.compile('<a href="(.+?)">vidxden.com</a><br />').findall(link) for url in vidxden: main.addPlayb(name,url,134,"%s/art/vidx.png"%selfAddon.getAddonInfo("path"),"%s/art/vidx.png"%selfAddon.getAddonInfo("path")) vidbux=re.compile('<a href="(.+?)">vidbux.com</a><br />').findall(link) for url in vidbux: main.addPlayb(name,url,134,"%s/art/vidb.png"%selfAddon.getAddonInfo("path"),"%s/art/vidb.png"%selfAddon.getAddonInfo("path"))
def LISTHOST(name,murl): link=main.OPENURL(murl) link=link.replace('\r','').replace('\n','').replace('\t','') putlocker=re.compile('<span>putlocker.com</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(putlocker) > 0: for url in putlocker: main.addPlayb(name+"[COLOR blue] : Putlocker[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/put.png"%selfAddon.getAddonInfo("path"),"%s/art/put.png"%selfAddon.getAddonInfo("path")) sockshare=re.compile('<span>sockshare.com</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(sockshare) > 0: for url in sockshare: main.addPlayb(name+"[COLOR blue] : Sockshare[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/Sockshare.png"%selfAddon.getAddonInfo("path"),"%s/art/Sockshare.png"%selfAddon.getAddonInfo("path")) nowvideo=re.compile('<span>nowvideo.co</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(nowvideo) > 0: for url in nowvideo: main.addPlayb(name+"[COLOR blue] : Nowvideo[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/nowvideo.png"%selfAddon.getAddonInfo("path"),"%s/art/nowvideo.png"%selfAddon.getAddonInfo("path")) oeupload=re.compile('<span>180upload.com/span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(oeupload) > 0: for url in oeupload: main.addPlayb(name+"[COLOR blue] : 180upload[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/180u.png"%selfAddon.getAddonInfo("path"),"%s/art/180u.png"%selfAddon.getAddonInfo("path")) filenuke=re.compile('<span>filenuke.com</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(filenuke) > 0: for url in filenuke: main.addPlayb(name+"[COLOR blue] : Filenuke[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/fn.png"%selfAddon.getAddonInfo("path"),"%s/art/fn.png"%selfAddon.getAddonInfo("path")) flashx=re.compile('<span>flashx.tv</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(flashx) > 0: for url in flashx: main.addPlayb(name+"[COLOR blue] : Flashx[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/flash.png"%selfAddon.getAddonInfo("path"),"%s/art/flash.png"%selfAddon.getAddonInfo("path")) novamov=re.compile('<span>novamov.com</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(novamov) > 0: for url in novamov: main.addPlayb(name+"[COLOR blue] : Novamov[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/nov.png"%selfAddon.getAddonInfo("path"),"%s/art/nov.png"%selfAddon.getAddonInfo("path")) uploadc=re.compile('<span>uploadc.com</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(uploadc) > 0: for url in uploadc: main.addPlayb(name+"[COLOR blue] : Uploadc[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/uc.png"%selfAddon.getAddonInfo("path"),"%s/art/uc.png"%selfAddon.getAddonInfo("path")) xvidstage=re.compile('<span>xvidstage.com</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(xvidstage) > 0: for url in xvidstage: main.addPlayb(name+"[COLOR blue] : Xvidstage[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/xvid.png"%selfAddon.getAddonInfo("path"),"%s/art/xvid.png"%selfAddon.getAddonInfo("path")) stagevu=re.compile('<span>stagevu.com</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(stagevu) > 0: for url in stagevu: main.addPlayb(name+"[COLOR blue] : StageVu[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/stagevu.png"%selfAddon.getAddonInfo("path"),"%s/art/stagevu.png"%selfAddon.getAddonInfo("path")) gorillavid=re.compile('<span>gorillavid.in</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(gorillavid)==0: gorillavid=re.compile('<span>gorillavid.com</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(gorillavid) > 0: for url in gorillavid: main.addPlayb(name+"[COLOR blue] : Gorillavid[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/gorillavid.png"%selfAddon.getAddonInfo("path"),"%s/art/gorillavid.png"%selfAddon.getAddonInfo("path")) divxstage=re.compile('<span>divxstage.eu</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(divxstage) > 0: for url in divxstage: main.addPlayb(name+"[COLOR blue] : Divxstage[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/divxstage.png"%selfAddon.getAddonInfo("path"),"%s/art/divxstage.png"%selfAddon.getAddonInfo("path")) moveshare=re.compile('<span>moveshare.net</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(moveshare) > 0: for url in moveshare: main.addPlayb(name+"[COLOR blue] : Moveshare[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/moveshare.png"%selfAddon.getAddonInfo("path"),"%s/art/moveshare.png"%selfAddon.getAddonInfo("path")) sharesix=re.compile('<span>sharesix.com</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(sharesix) > 0: for url in sharesix: main.addPlayb(name+"[COLOR blue] : Sharesix[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/sharesix.png"%selfAddon.getAddonInfo("path"),"%s/art/sharesix.png"%selfAddon.getAddonInfo("path")) movpod=re.compile('<span>movpod.in</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(movpod)==0: movpod=re.compile('<span>movpod.net</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(movpod) > 0: for url in movpod: main.addPlayb(name+"[COLOR blue] : Movpod[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/movpod.png"%selfAddon.getAddonInfo("path"),"%s/art/movpod.png"%selfAddon.getAddonInfo("path")) daclips=re.compile('<span>daclips.in</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(daclips)==0: daclips=re.compile('<span>daclips.com</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(daclips) > 0: for url in daclips: main.addPlayb(name+"[COLOR blue] : Daclips[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/daclips.png"%selfAddon.getAddonInfo("path"),"%s/art/daclips.png"%selfAddon.getAddonInfo("path")) videoweed=re.compile('<span>videoweed.es</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(videoweed) > 0: for url in videoweed: main.addPlayb(name+"[COLOR blue] : Videoweed[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/Videoweed.png"%selfAddon.getAddonInfo("path"),"%s/art/Videoweed.png"%selfAddon.getAddonInfo("path")) zooupload=re.compile('<span>zooupload.com</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(zooupload) > 0: for url in zooupload: main.addPlayb(name+"[COLOR blue] : Zooupload[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/zooup.png"%selfAddon.getAddonInfo("path"),"%s/art/zooup.png"%selfAddon.getAddonInfo("path")) zalaa=re.compile('<span>zalaa.com</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(zalaa) > 0: for url in zalaa: main.addPlayb(name+"[COLOR blue] : Zalaa[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/zalaa.png"%selfAddon.getAddonInfo("path"),"%s/art/zalaa.png"%selfAddon.getAddonInfo("path")) vidxden=re.compile('<span>vidxden.com</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(vidxden) > 0: for url in vidxden: main.addPlayb(name+"[COLOR blue] : Vidxden[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/vidx.png"%selfAddon.getAddonInfo("path"),"%s/art/vidx.png"%selfAddon.getAddonInfo("path")) vidbux=re.compile('<span>vidbux.com</span></td><td> <a target=".+?" href="(.+?)"').findall(link) if len(vidbux) > 0: for url in vidbux: main.addPlayb(name+"[COLOR blue] : Vidbux[/COLOR]",url+'xocx'+murl+'xocx',574,"%s/art/vidb.png"%selfAddon.getAddonInfo("path"),"%s/art/vidb.png"%selfAddon.getAddonInfo("path"))
def MOVRLINKS(name,url): link=main.OPENURL(url) movreel=re.compile('<li class=link_name>movreel</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) for url in movreel: main.addPlayb(name,url,5,"%s/art/movreel.png"%selfAddon.getAddonInfo("path"),"%s/art/movreel.png"%selfAddon.getAddonInfo("path"))
def BUPLOADSLINKS(name,url): link=main.OPENURL(url) billionuploads=re.compile('<li class=link_name>billionuploads</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) for url in billionuploads: main.addPlayb(name,url,5,"%s/art/billionuploads.png"%selfAddon.getAddonInfo("path"),"%s/art/billionuploads.png"%selfAddon.getAddonInfo("path"))
def DACLINKS(name,url): link=main.OPENURL(url) daclips=re.compile('<li class=link_name>daclips</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) for url in daclips: main.addPlayb(name,url,5,"%s/art/daclips.png"%selfAddon.getAddonInfo("path"),"%s/art/daclips.png"%selfAddon.getAddonInfo("path"))
def VWEEDLINKS(name,url): link=main.OPENURL(url) videoweed=re.compile('<li class=link_name>videoweed</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) for url in videoweed: main.addPlayb(name,url,5,"%s/art/Videoweed.png"%selfAddon.getAddonInfo("path"),"%s/art/Videoweed.png"%selfAddon.getAddonInfo("path"))
def SSIXLINKS(name,url): link=main.OPENURL(url) sharesix=re.compile('<li class=link_name>sharesix</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) for url in sharesix: main.addPlayb(name,url,5,"%s/art/sharesix.png"%selfAddon.getAddonInfo("path"),"%s/art/sharesix.png"%selfAddon.getAddonInfo("path"))
def GORLINKS(name,url): link=main.OPENURL(url) gorillavid=re.compile('<li class=link_name>gorillavid</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) for url in gorillavid: main.addPlayb(name,url,5,"%s/art/gorillavid.png"%selfAddon.getAddonInfo("path"),"%s/art/gorillavid.png"%selfAddon.getAddonInfo("path"))
def ZALINKS(name,url): link=main.OPENURL(url) zalaa=re.compile('<li class=link_name>zalaa</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) for url in zalaa: main.addPlayb(name,url,5,"%s/art/zalaa.png"%selfAddon.getAddonInfo("path"),"%s/art/zalaa.png"%selfAddon.getAddonInfo("path"))
def DIVXSLINKS(name,url): link=main.OPENURL(url) divxstage=re.compile('<li class=link_name>divxstage</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) for url in divxstage: main.addPlayb(name,url,5,"%s/art/divxstage.png"%selfAddon.getAddonInfo("path"),"%s/art/divxstage.png"%selfAddon.getAddonInfo("path"))
def UPLINKS(name,url): link=main.OPENURL(url) uploadc=re.compile('<li class=link_name>uploadc</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) for url in uploadc: main.addPlayb(name,url,5,"%s/art/uc.png"%selfAddon.getAddonInfo("path"),"%s/art/uc.png"%selfAddon.getAddonInfo("path"))
def NOVLINKS(name,url): link=main.OPENURL(url) novamov=re.compile('<li class=link_name>novamov</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) for url in novamov: main.addPlayb(name,url,5,"%s/art/nov.png"%selfAddon.getAddonInfo("path"),"%s/art/nov.png"%selfAddon.getAddonInfo("path"))
def FLALINKS(name,url): link=main.OPENURL(url) flashx=re.compile('<li class=link_name>flashx</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) for url in flashx: main.addPlayb(name,url,5,"%s/art/flash.png"%selfAddon.getAddonInfo("path"),"%s/art/flash.png"%selfAddon.getAddonInfo("path"))
def OELINKS(name,url): link=main.OPENURL(url) oeupload=re.compile('<li class=link_name>180upload</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) for url in oeupload: main.addPlayb(name,url,5,"%s/art/180u.png"%selfAddon.getAddonInfo("path"),"%s/art/180u.png"%selfAddon.getAddonInfo("path"))
def PUTLINKS(name,url): link=main.OPENURL(url) putlocker=re.compile('<li class=link_name>putlocker</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) for url in putlocker: main.addPlayb(name,url,5,"%s/art/put.png"%selfAddon.getAddonInfo("path"),"%s/art/put.png"%selfAddon.getAddonInfo("path"))