def VIDEOLINKS(name, url): link = main.OPENURL(url) link = link.replace('\r', '').replace('\n', '').replace('\t', '').replace( ' ', '').replace('\\', '') qual = re.compile('<h1 >Links - Quality\s*?([^\s]+?)\s*?</h1>').findall( link) quality = str(qual) quality = quality.replace("'", "") name = name.split('[COLOR blue]')[0] import collections all = re.compile( '<li class="link_name">\s*?([^<^\s]+?)\s*?</li>.+?<li class=".+?"><span><a href="([^"]+?)"' ).findall(link) all_coll = collections.defaultdict(list) for d in all: all_coll[d[0]].append(d[1]) all_coll = all_coll.items() sortorder = "putlocker,sockshare,billionuploads,hugefiles,mightyupload,movreel,lemuploads,180upload,megarelease,filenuke,flashx,gorillavid,bayfiles,veehd,vidto,epicshare,2gbhosting,alldebrid,allmyvideos,castamp,cheesestream,clicktoview,crunchyroll,cyberlocker,daclips,dailymotion,divxstage,donevideo,ecostream,entroupload,facebook,filebox,hostingbulk,hostingcup,jumbofiles,limevideo,movdivx,movpod,movshare,movzap,muchshare,nolimitvideo,nosvideo,novamov,nowvideo,ovfile,play44_net,played,playwire,premiumize_me,primeshare,promptfile,purevid,rapidvideo,realdebrid,rpnet,seeon,sharefiles,sharerepo,sharesix,skyload,stagevu,stream2k,streamcloud,thefile,tubeplus,tunepk,ufliq,upbulk,uploadc,uploadcrazynet,veoh,vidbull,vidcrazynet,video44,videobb,videofun,videotanker,videoweed,videozed,videozer,vidhog,vidpe,vidplay,vidstream,vidup_org,vidx,vidxden,vidzur,vimeo,vureel,watchfreeinhd,xvidstage,yourupload,youtube,youwatch,zalaa,zooupload,zshare," sortorder = ','.join((sortorder.split(',')[::-1])) all_coll = sorted(all_coll, key=lambda word: sortorder.find(word[0].lower()) * -1) for host, urls in all_coll: if host.lower() in sortorder: host = host.strip() main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + " [COLOR blue]" + host.upper() + "[/COLOR]", str(urls), 11, art + '/hosts/' + host + '.png', art + '/hosts/' + host + '.png')
def VIDEOLINKS(name, url): link = main.OPENURL(url) link = link.replace("\r", "").replace("\n", "").replace("\t", "").replace(" ", "").replace("\\", "") qual = re.compile("<h1 >Links - Quality\s*?([^\s]+?)\s*?</h1>").findall(link) quality = str(qual) quality = quality.replace("'", "") name = name.split("[COLOR blue]")[0] import collections all = re.compile( '<li class="link_name">\s*?([^<^\s]+?)\s*?</li>.+?<li class=".+?"><span><a href="([^"]+?)"' ).findall(link) all_coll = collections.defaultdict(list) for d in all: all_coll[d[0]].append(d[1]) all_coll = all_coll.items() sortorder = "putlocker,sockshare,billionuploads,hugefiles,mightyupload,movreel,lemuploads,180upload,megarelease,filenuke,flashx,gorillavid,bayfiles,veehd,vidto,epicshare,2gbhosting,alldebrid,allmyvideos,castamp,cheesestream,clicktoview,crunchyroll,cyberlocker,daclips,dailymotion,divxstage,donevideo,ecostream,entroupload,facebook,filebox,hostingbulk,hostingcup,jumbofiles,limevideo,movdivx,movpod,movshare,movzap,muchshare,nolimitvideo,nosvideo,novamov,nowvideo,ovfile,play44_net,played,playwire,premiumize_me,primeshare,promptfile,purevid,rapidvideo,realdebrid,rpnet,seeon,sharefiles,sharerepo,sharesix,skyload,stagevu,stream2k,streamcloud,thefile,tubeplus,tunepk,ufliq,upbulk,uploadc,uploadcrazynet,veoh,vidbull,vidcrazynet,video44,videobb,videofun,videotanker,videoweed,videozed,videozer,vidhog,vidpe,vidplay,vidstream,vidup_org,vidx,vidxden,vidzur,vimeo,vureel,watchfreeinhd,xvidstage,yourupload,youtube,youwatch,zalaa,zooupload,zshare," sortorder = ",".join((sortorder.split(",")[::-1])) all_coll = sorted(all_coll, key=lambda word: sortorder.find(word[0].lower()) * -1) for host, urls in all_coll: if host.lower() in sortorder: host = host.strip() main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + " [COLOR blue]" + host.upper() + "[/COLOR]", str(urls), 11, art + "/hosts/" + host + ".png", art + "/hosts/" + host + ".png", )
def VIDEOLINKS(name, url): link = main.OPENURL(url) #print link #link=link.replace('\r','').replace('\n','').replace('\t','').replace(' ','').replace('\\','') qual = re.compile('<h1>Links - Quality\s*?([^\s]+?)\s*?</h1>').findall( link) quality = str(qual) quality = quality.replace("'", "") name = name.split('[COLOR blue]')[0] links = common.parseDOM(link, "div", attrs={"class": "links"}) if len(links) > 0: links = links[0] else: links = common.parseDOM(link, "div", attrs={"id": "links"})[0] tmplinks = common.parseDOM(links, "ul") tmplinks += common.parseDOM(links, "ul", attrs={"class": "hidden"}) links = tmplinks import collections all_coll = collections.defaultdict(list) for item in links: host = common.parseDOM(item, "li", attrs={"class": "link_name"}) if len(host) > 0: host = host[0] else: host = common.parseDOM(item, "li", attrs={"id": "link_name"})[0] url = common.parseDOM(item, "a", ret="href") if len(url) > 0: url = url[0] else: #url = re.findall(',\'(.+?)\'.;',item)[0] # Gets the direct URL url = common.parseDOM(item, "li", attrs={"id": "download"}, ret="onclick")[0] url = re.findall('open\(\'(.+?)\'\)', url)[0] all_coll[host].append(url) all_coll = all_coll.items() fixed = "180upload, movreel" broken = "hugefiles" notsupported = "realvid, thevideo, cloudyvideos,beststreams, vidzi" sortorder = "putlocker,sockshare,hugefiles,mightyupload,movreel,lemuploads,180upload,megarelease,filenuke,flashx,gorillavid,bayfiles,veehd,vidto,epicshare,2gbhosting,alldebrid,allmyvideos,castamp,cheesestream,clicktoview,crunchyroll,cyberlocker,daclips,dailymotion,divxstage,donevideo,ecostream,entroupload,facebook,filebox,hostingbulk,hostingcup,jumbofiles,limevideo,movdivx,movpod,movshare,movzap,muchshare,nolimitvideo,nosvideo,novamov,nowvideo,ovfile,play44_net,played,playwire,premiumize_me,primeshare,promptfile,purevid,rapidvideo,realdebrid,rpnet,seeon,sharefiles,sharerepo,sharesix,skyload,stagevu,stream2k,streamcloud,thefile,tubeplus,tunepk,ufliq,upbulk,uploadc,uploadcrazynet,veoh,vidbull,vidcrazynet,video44,videobb,videofun,videotanker,videoweed,videozed,videozer,vidhog,vidpe,vidplay,vidstream,vidup_org,vidx,vidxden,vidzur,vimeo,vureel,watchfreeinhd,xvidstage,yourupload,youtube,youwatch,zalaa,zooupload,zshare,vodlocker, streamin, letwatch, " sortorder = ','.join((sortorder.split(',')[::-1])) all_coll = sorted(all_coll, key=lambda word: sortorder.find(word[0].lower()) * -1) for host, urls in all_coll: if host.lower() in sortorder: host = host.strip() main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + " [COLOR blue]" + host.upper() + "[/COLOR]", str(urls), constants.MOVIE25_GROUPED_HOSTS, art + '/hosts/' + host + '.png', art + '/hosts/' + host + '.png')
def VIDEOLINKS(name,url): link=main.OPENURL(url) #print link #link=link.replace('\r','').replace('\n','').replace('\t','').replace(' ','').replace('\\','') qual = re.compile('<h1>Links - Quality\s*?([^\s]+?)\s*?</h1>').findall(link) quality = str(qual) quality = quality.replace("'","") name = name.split('[COLOR blue]')[0] links = common.parseDOM(link, "div", attrs = { "class" : "links"}) if len(links) > 0: links = links[0] else : links = common.parseDOM(link, "div", attrs = { "id" : "links"})[0] tmplinks = common.parseDOM(links, "ul") tmplinks += common.parseDOM(links, "ul", attrs = {"class": "hidden"}) links = tmplinks import collections all_coll = collections.defaultdict(list) for item in links: host = common.parseDOM(item, "li", attrs = { "class": "link_name" }) if len(host) > 0: host = host[0] else : host = common.parseDOM(item, "li", attrs = { "id": "link_name" })[0] url = common.parseDOM(item, "a", ret="href") if len(url) > 0: url = url[0] else : #url = re.findall(',\'(.+?)\'.;',item)[0] # Gets the direct URL url = common.parseDOM(item,"li", attrs = {"id" : "download"}, ret="onclick")[0] url = re.findall('open\(\'(.+?)\'\)', url)[0] all_coll[host].append(url) all_coll = all_coll.items() fixed = "180upload, movreel" broken = "hugefiles" notsupported = "realvid, thevideo, cloudyvideos,beststreams, vidzi" sortorder = "putlocker,sockshare,hugefiles,mightyupload,movreel,lemuploads,180upload,megarelease,filenuke,flashx,gorillavid,bayfiles,veehd,vidto,epicshare,2gbhosting,alldebrid,allmyvideos,castamp,cheesestream,clicktoview,crunchyroll,cyberlocker,daclips,dailymotion,divxstage,donevideo,ecostream,entroupload,facebook,filebox,hostingbulk,hostingcup,jumbofiles,limevideo,movdivx,movpod,movshare,movzap,muchshare,nolimitvideo,nosvideo,novamov,nowvideo,ovfile,play44_net,played,playwire,premiumize_me,primeshare,promptfile,purevid,rapidvideo,realdebrid,rpnet,seeon,sharefiles,sharerepo,sharesix,skyload,stagevu,stream2k,streamcloud,thefile,tubeplus,tunepk,ufliq,upbulk,uploadc,uploadcrazynet,veoh,vidbull,vidcrazynet,video44,videobb,videofun,videotanker,videoweed,videozed,videozer,vidhog,vidpe,vidplay,vidstream,vidup_org,vidx,vidxden,vidzur,vimeo,vureel,watchfreeinhd,xvidstage,yourupload,youtube,youwatch,zalaa,zooupload,zshare,vodlocker, streamin, letwatch, " sortorder = ','.join((sortorder.split(',')[::-1])) all_coll = sorted(all_coll, key=lambda word: sortorder.find(word[0].lower())*-1) for host,urls in all_coll: if host.lower() in sortorder: host = host.strip() main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+" [COLOR blue]"+host.upper()+"[/COLOR]",str(urls),constants.MOVIE25_GROUPED_HOSTS,art+'/hosts/'+host+'.png',art+'/hosts/'+host+'.png')
def VIDEOLINKS(name,url): link=main.OPENURL(url) qual = re.compile('<h1 >Links - Quality\n \n (.+?) <a name="link"></a> </h1>').findall(link) quality=str(qual) quality=quality.replace("'","") name = name.split('[COLOR blue]')[0] print" ll "+name putlocker=re.compile('<li class=link_name>putlocker</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(putlocker) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Putlocker[/COLOR]",url,11,art+'/hosts/putlocker.png',art+'/hosts/putlocker.png') if len(putlocker) == 0: putlocker=re.compile("javascript:window.open.+?'http://movie25.com/redirect.php.?url=http://www.putlocker.com/file/.+?',").findall(link) if len(putlocker) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Putlocker[/COLOR]",url,11,art+'/hosts/putlocker.png',art+'/hosts/putlocker.png') sockshare=re.compile('<li class=link_name>sockshare</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(sockshare) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Sockshare[/COLOR]",url,22,art+'/hosts/sockshare.png',art+'/hosts/sockshare.png') if len(sockshare) == 0: sockshare=re.compile("javascript:window.open.+?'http://movie25.com/redirect.php.?url=http://www.sockshare.com/file/.+?',").findall(link) if len(sockshare) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Sockshare[/COLOR]",url,22,art+'/hosts/sockshare.png',art+'/hosts/sockshare.png') nowvideo=re.compile('<li class=link_name>nowvideo</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(nowvideo) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Nowvideo[/COLOR]",url,24,art+'/hosts/nowvideo.png',art+'/hosts/nowvideo.png') oeupload=re.compile('<li class=link_name>180upload</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(oeupload) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : 180upload[/COLOR]",url,12,art+'/hosts/180upload.png',art+'/hosts/180upload.png') filenuke=re.compile('<li class=link_name>filenuke</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(filenuke) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Filenuke[/COLOR]",url,13,art+'/hosts/filenuke.png',art+'/hosts/filenuke.png') flashx=re.compile('<li class=link_name>flashx</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(flashx) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Flashx[/COLOR]",url,15,art+'/hosts/flashx.png',art+'/hosts/flashx.png') novamov=re.compile('<li class=link_name>novamov</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(novamov) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Novamov[/COLOR]",url,16,art+'/hosts/novamov.png',art+'/hosts/novamov.png') gorillavid=re.compile('<li class=link_name>gorillavid</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(gorillavid) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Gorillavid[/COLOR]",url,148,art+'/hosts/gorillavid.png',art+'/hosts/gorillavid.png') divxstage=re.compile('<li class=link_name>divxstage</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(divxstage) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Divxstage[/COLOR]",url,146,art+'/hosts/divxstage.png',art+'/hosts/divxstage.png') movshare=re.compile('<li class=link_name>movshare</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(movshare) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Movshare[/COLOR]",url,145,art+'/hosts/movshare.png',art+'/hosts/movshare.png') sharesix=re.compile('<li class=link_name>sharesix</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(sharesix) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Sharesix[/COLOR]",url,147,art+'/hosts/sharesix.png',art+'/hosts/sharesix.png') movpod=re.compile('<li class=link_name>movpod</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(movpod) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Movpod[/COLOR]",url,150,art+'/hosts/movpod.png',art+'/hosts/movpod.png') daclips=re.compile('<li class=link_name>daclips</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(daclips) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Daclips[/COLOR]",url,151,art+'/hosts/daclips.png',art+'/hosts/daclips.png') videoweed=re.compile('<li class=link_name>videoweed</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(videoweed) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Videoweed[/COLOR]",url,152,art+'/hosts/videoweed.png',art+'/hosts/videoweed.png') played=re.compile('<li class=link_name>played</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(played) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Played[/COLOR]",url,157,art+'/hosts/played.png',art+'/hosts/played.png') movdivx=re.compile('<li class=link_name>movdivx</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(movdivx) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : MovDivx[/COLOR]",url,153,art+'/hosts/movdivx.png',art+'/hosts/movdivx.png') movreel=re.compile('<li class=link_name>movreel</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(movreel) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Movreel[/COLOR]",url,154,art+'/hosts/movreel.png',art+'/hosts/movreel.png') billionuploads=re.compile('<li class=link_name>billionuploads</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(billionuploads) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : BillionUploads[/COLOR]",url,155,art+'/hosts/billionuploads.png',art+'/hosts/billionuploads.png') uploadc=re.compile('<li class=link_name>uploadc</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(uploadc) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Uploadc[/COLOR]",url,17,art+'/hosts/uploadc.png',art+'/hosts/uploadc.png') xvidstage=re.compile('<li class=link_name>xvidstage</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(xvidstage) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Xvidstage[/COLOR]",url,18,art+'/hosts/xvidstage.png',art+'/hosts/xvidstage.png') zooupload=re.compile('<li class=link_name>zooupload</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(zooupload) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Zooupload[/COLOR]",url,19,art+'/hosts/zooupload.png',art+'/hosts/zooupload.png') zalaa=re.compile('<li class=link_name>zalaa</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(zalaa) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Zalaa[/COLOR]",url,20,art+'/hosts/zalaa.png',art+'/hosts/zalaa.png') vidxden=re.compile('<li class=link_name>vidxden</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(vidxden) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Vidxden[/COLOR]",url,21,art+'/hosts/vidxden.png',art+'/hosts/vidxden.png') vidbux=re.compile('<li class=link_name>vidbux</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link) if len(vidbux) > 0: main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Vidbux[/COLOR]",url,14,art+'/hosts/vidbux.png',art+'/hosts/vidbux.png')
def VIDEOLINKS(name, url): link = main.OPENURL(url) link = link.replace('\r', '').replace('\n', '').replace('\t', '').replace( ' ', '').replace('\\', '') putlocker = re.compile( 'http://www.putlocker.com/file/([^"]*)</a>').findall(link) for url in putlocker: url = 'http://www.putlocker.com/file/' + url main.addDownLink('[COLOR blue]Putlocker[/COLOR]', url, 100, art + '/hosts/putlocker.png', art + '/hosts/putlocker.png') sockshare = re.compile( '<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/hoster/113.png" alt="Sockshare [^"]*" title' ).findall(link) if len(sockshare) > 0: url = base_url + url main.addDirb("[COLOR blue]Sockshare[/COLOR]", url, 100, art + '/hosts/sockshare.png', art + '/hosts/sockshare.png') #movreel=re.compile('').findall(link) #if len(movreel) > 0: # main.addDirb("[COLOR blue]Movreel[/COLOR]",url,100,art+'/hosts/movreel.png',art+'/hosts/movreel.png') #billionuploads=re.compile('').findall(link) #if len(billionuploads) > 0: # main.addDirb("[COLOR blue]BillionUploads[/COLOR]",url,100,art+'/hosts/billionuploads.png',art+'/hosts/billionuploads.png') nowvideo = re.compile( '<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/hoster/186.png" alt="Nowvideo [^"]*" title' ).findall(link) if len(nowvideo) > 0: url = base_url + url main.addDirb("[COLOR blue]Nowvideo[/COLOR]", url, 100, art + '/hosts/nowvideo.png', art + '/hosts/nowvideo.png') #oeupload=re.compile('').findall(link) #if len(oeupload) > 0: # main.addDirb("[COLOR blue]180upload[/COLOR]",url,12,art+'/hosts/180upload.png',art+'/hosts/180upload.png') filenuke = re.compile( '<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="Filenuke [^"]*" title' ).findall(link) if len(filenuke) > 0: url = base_url + url main.addDirb("[COLOR blue]Filenuke[/COLOR]", url, 100, art + '/hosts/filenuke.png', art + '/hosts/filenuke.png') flashx = re.compile( '<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/hoster/150.png" alt="Flashx [^"]*" title' ).findall(link) if len(flashx) > 0: main.addDirb("[COLOR blue]Flashx[/COLOR]", url, 100, art + '/hosts/flashx.png', art + '/hosts/flashx.png') novamov = re.compile( '<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="Novamov [^"]*" title' ).findall(link) if len(novamov) > 0: url = base_url + url main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Novamov[/COLOR]", url, 100, art + '/hosts/novamov.png', art + '/hosts/novamov.png') #gorillavid=re.compile('').findall(link) #if len(gorillavid) > 0: # main.addDirb("[COLOR blue]Gorillavid[/COLOR]",url,148,art+'/hosts/gorillavid.png',art+'/hosts/gorillavid.png') divxstage = re.compile( '<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/divx.gif" alt="Divxstage [^"]*" title' ).findall(link) if len(divxstage) > 0: url = base_url + url main.addDirb("[COLOR blue]Divxstage[/COLOR]", url, 100, art + '/hosts/divxstage.png', art + '/hosts/divxstage.png') movshare = re.compile( '<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="Movshare [^"]*" title' ).findall(link) if len(movshare) > 0: url = base_url + url #main.addDirb(name'[COLOR blue]Movshare[/COLOR]',url,100,art+'/hosts/movshare.png',art+'/hosts/movshare.png') sharesix = re.compile( '<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="Sharesix [^"]*" title' ).findall(link) if len(sharesix) > 0: url = base_url + url main.addDirb("[COLOR blue]Sharesix[/COLOR]", url, 100, art + '/hosts/sharesix.png', art + '/hosts/sharesix.png') #movpod=re.compile('').findall(link) #if len(movpod) > 0: # url = base_url + url # main.addDirb("[COLOR blue]Movpod[/COLOR]",url,150,art+'/hosts/movpod.png',art+'/hosts/movpod.png') #daclips=re.compile('').findall(link) #if len(daclips) > 0: # url = base_url + url # main.addDirb("[COLOR blue] : Daclips[/COLOR]",url,151,art+'/hosts/daclips.png',art+'/hosts/daclips.png') videoweed = re.compile( '<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="Videoweed [^"]*" title' ).findall(link) if len(videoweed) > 0: url = base_url + url main.addDirb("[COLOR blue]Videoweed[/COLOR]", url, 100, art + '/hosts/videoweed.png', art + '/hosts/videoweed.png') played = re.compile( '<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="played.to [^"]*" title' ).findall(link) if len(played) > 0: url = base_url + url main.addDirb("[COLOR blue]Played[/COLOR]", url, 100, art + '/hosts/played.png', art + '/hosts/played.png') movdivx = re.compile( '<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/divx.gif" alt="Movdivx [^"]*" title' ).findall(link) if len(movdivx) > 0: url = base_url + url main.addDirb("[COLOR blue]MovDivx[/COLOR]", url, 100, art + '/hosts/movdivx.png', art + '/hosts/movdivx.png') uploadc = re.compile( '<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="UploadC [^"]*" title' ).findall(link) if len(uploadc) > 0: url = base_url + url main.addDirb("[COLOR blue]Uploadc[/COLOR]", url, 100, art + '/hosts/uploadc.png', art + '/hosts/uploadc.png') xvidstage = re.compile( '"><a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/divx.gif" alt="Xvidstage [^"]*" title' ).findall(link) if len(xvidstage) > 0: url = base_url + url main.addDirb("[COLOR blue]Xvidstage[/COLOR]", url, 100, art + '/hosts/xvidstage.png', art + '/hosts/xvidstage.png') #zooupload=re.compile('').findall(link) #if len(zooupload) > 0: # url = base_url + url # main.addDirb("[COLOR blue]Zooupload[/COLOR]",url,19,art+'/hosts/zooupload.png',art+'/hosts/zooupload.png') zalaa = re.compile( '<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="Zalaa [^"]*" title' ).findall(link) if len(zalaa) > 0: url = base_url + url main.addDirb("[COLOR blue]Zalaa[/COLOR]", url, 100, art + '/hosts/zalaa.png', art + '/hosts/zalaa.png') vidxden = re.compile( '<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="Vidxden [^"]*" title' ).findall(link) if len(vidxden) > 0: url = base_url + url main.addDirb("[COLOR blue]Vidxden[/COLOR]", url, 100, art + '/hosts/vidxden.png', art + '/hosts/vidxden.png') vidbux = re.compile( '<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/divx.gif" alt="Vidbux [^"]*" title' ).findall(link) if len(vidbux) > 0: url = base_url + url main.addDirb("[COLOR blue]Vidbux[/COLOR]", url, 100, art + '/hosts/vidbux.png', art + '/hosts/vidbux.png') muchshare = re.compile( 'SRC="http://muchshare.net/embed-([^"]*).html" FRAMEBORDER').findall( link) for url in muchshare: url = 'http://muchshare.net/' + url main.addDownLink('[COLOR blue]MuchShare[/COLOR]', url, 100, art + '/hosts/.png', art + '/hosts/.png') mooshare = re.compile( 'src="http://mooshare.biz/iframe/([^"]*)" frameborder').findall(link) for url in mooshare: url = 'http://mooshare.biz/iframe/' + url main.addDownLink('[COLOR blue]MooShare[/COLOR]', url, 100, art + '/hosts/.png', art + '/hosts/.png')
def VIDEOLINKS(name,url): link=main.OPENURL(url) link=link.replace('\r','').replace('\n','').replace('\t','').replace(' ','').replace('\\','') putlocker=re.compile('http://www.putlocker.com/file/([^"]*)</a>').findall(link) for url in putlocker: url = 'http://www.putlocker.com/file/' + url main.addDownLink('[COLOR blue]Putlocker[/COLOR]',url,100,art+'/hosts/putlocker.png',art+'/hosts/putlocker.png') sockshare=re.compile('<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/hoster/113.png" alt="Sockshare [^"]*" title').findall(link) if len(sockshare) > 0: url = base_url + url main.addDirb("[COLOR blue]Sockshare[/COLOR]",url,100,art+'/hosts/sockshare.png',art+'/hosts/sockshare.png') #movreel=re.compile('').findall(link) #if len(movreel) > 0: # main.addDirb("[COLOR blue]Movreel[/COLOR]",url,100,art+'/hosts/movreel.png',art+'/hosts/movreel.png') #billionuploads=re.compile('').findall(link) #if len(billionuploads) > 0: # main.addDirb("[COLOR blue]BillionUploads[/COLOR]",url,100,art+'/hosts/billionuploads.png',art+'/hosts/billionuploads.png') nowvideo=re.compile('<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/hoster/186.png" alt="Nowvideo [^"]*" title').findall(link) if len(nowvideo) > 0: url = base_url + url main.addDirb("[COLOR blue]Nowvideo[/COLOR]",url,100,art+'/hosts/nowvideo.png',art+'/hosts/nowvideo.png') #oeupload=re.compile('').findall(link) #if len(oeupload) > 0: # main.addDirb("[COLOR blue]180upload[/COLOR]",url,12,art+'/hosts/180upload.png',art+'/hosts/180upload.png') filenuke=re.compile('<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="Filenuke [^"]*" title').findall(link) if len(filenuke) > 0: url = base_url + url main.addDirb("[COLOR blue]Filenuke[/COLOR]",url,100,art+'/hosts/filenuke.png',art+'/hosts/filenuke.png') flashx=re.compile('<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/hoster/150.png" alt="Flashx [^"]*" title').findall(link) if len(flashx) > 0: main.addDirb("[COLOR blue]Flashx[/COLOR]",url,100,art+'/hosts/flashx.png',art+'/hosts/flashx.png') novamov=re.compile('<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="Novamov [^"]*" title').findall(link) if len(novamov) > 0: url = base_url + url main.addDirb(name+" [COLOR red]"+quality+"[/COLOR]"+"[COLOR blue] : Novamov[/COLOR]",url,100,art+'/hosts/novamov.png',art+'/hosts/novamov.png') #gorillavid=re.compile('').findall(link) #if len(gorillavid) > 0: # main.addDirb("[COLOR blue]Gorillavid[/COLOR]",url,148,art+'/hosts/gorillavid.png',art+'/hosts/gorillavid.png') divxstage=re.compile('<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/divx.gif" alt="Divxstage [^"]*" title').findall(link) if len(divxstage) > 0: url = base_url + url main.addDirb("[COLOR blue]Divxstage[/COLOR]",url,100,art+'/hosts/divxstage.png',art+'/hosts/divxstage.png') movshare=re.compile('<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="Movshare [^"]*" title').findall(link) if len(movshare) > 0: url = base_url + url #main.addDirb(name'[COLOR blue]Movshare[/COLOR]',url,100,art+'/hosts/movshare.png',art+'/hosts/movshare.png') sharesix=re.compile('<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="Sharesix [^"]*" title').findall(link) if len(sharesix) > 0: url = base_url + url main.addDirb("[COLOR blue]Sharesix[/COLOR]",url,100,art+'/hosts/sharesix.png',art+'/hosts/sharesix.png') #movpod=re.compile('').findall(link) #if len(movpod) > 0: # url = base_url + url # main.addDirb("[COLOR blue]Movpod[/COLOR]",url,150,art+'/hosts/movpod.png',art+'/hosts/movpod.png') #daclips=re.compile('').findall(link) #if len(daclips) > 0: # url = base_url + url # main.addDirb("[COLOR blue] : Daclips[/COLOR]",url,151,art+'/hosts/daclips.png',art+'/hosts/daclips.png') videoweed=re.compile('<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="Videoweed [^"]*" title').findall(link) if len(videoweed) > 0: url = base_url + url main.addDirb("[COLOR blue]Videoweed[/COLOR]",url,100,art+'/hosts/videoweed.png',art+'/hosts/videoweed.png') played=re.compile('<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="played.to [^"]*" title').findall(link) if len(played) > 0: url = base_url + url main.addDirb("[COLOR blue]Played[/COLOR]",url,100,art+'/hosts/played.png',art+'/hosts/played.png') movdivx=re.compile('<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/divx.gif" alt="Movdivx [^"]*" title').findall(link) if len(movdivx) > 0: url = base_url + url main.addDirb("[COLOR blue]MovDivx[/COLOR]",url,100,art+'/hosts/movdivx.png',art+'/hosts/movdivx.png') uploadc=re.compile('<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="UploadC [^"]*" title').findall(link) if len(uploadc) > 0: url = base_url + url main.addDirb("[COLOR blue]Uploadc[/COLOR]",url,100,art+'/hosts/uploadc.png',art+'/hosts/uploadc.png') xvidstage=re.compile('"><a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/divx.gif" alt="Xvidstage [^"]*" title').findall(link) if len(xvidstage) > 0: url = base_url + url main.addDirb("[COLOR blue]Xvidstage[/COLOR]",url,100,art+'/hosts/xvidstage.png',art+'/hosts/xvidstage.png') #zooupload=re.compile('').findall(link) #if len(zooupload) > 0: # url = base_url + url # main.addDirb("[COLOR blue]Zooupload[/COLOR]",url,19,art+'/hosts/zooupload.png',art+'/hosts/zooupload.png') zalaa=re.compile('<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="Zalaa [^"]*" title').findall(link) if len(zalaa) > 0: url = base_url + url main.addDirb("[COLOR blue]Zalaa[/COLOR]",url,100,art+'/hosts/zalaa.png',art+'/hosts/zalaa.png') vidxden=re.compile('<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/flashPlayer2.gif" alt="Vidxden [^"]*" title').findall(link) if len(vidxden) > 0: url = base_url + url main.addDirb("[COLOR blue]Vidxden[/COLOR]",url,100,art+'/hosts/vidxden.png',art+'/hosts/vidxden.png') vidbux=re.compile('<a href="([^"]*)">[^"]*<img border=0 style="vertical-align:top;" src="http://img.movie4k.to/img/divx.gif" alt="Vidbux [^"]*" title').findall(link) if len(vidbux) > 0: url = base_url + url main.addDirb("[COLOR blue]Vidbux[/COLOR]",url,100,art+'/hosts/vidbux.png',art+'/hosts/vidbux.png') muchshare=re.compile('SRC="http://muchshare.net/embed-([^"]*).html" FRAMEBORDER').findall(link) for url in muchshare: url = 'http://muchshare.net/' + url main.addDownLink('[COLOR blue]MuchShare[/COLOR]',url,100,art+'/hosts/.png',art+'/hosts/.png') mooshare=re.compile('src="http://mooshare.biz/iframe/([^"]*)" frameborder').findall(link) for url in mooshare: url = 'http://mooshare.biz/iframe/' + url main.addDownLink('[COLOR blue]MooShare[/COLOR]',url,100,art+'/hosts/.png',art+'/hosts/.png')
def VIDEOLINKS(name, url): link = main.OPENURL(url) qual = re.compile( '<h1 >Links - Quality\n \n (.+?) <a name="link"></a> </h1>' ).findall(link) quality = str(qual) quality = quality.replace("'", "") name = name.split('[COLOR blue]')[0] print " ll " + name putlocker = re.compile( '<li class=link_name>putlocker</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(putlocker) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Putlocker[/COLOR]", url, 11, art + '/hosts/putlocker.png', art + '/hosts/putlocker.png') if len(putlocker) == 0: putlocker = re.compile( "javascript:window.open.+?'http://movie25.com/redirect.php.?url=http://www.putlocker.com/file/.+?'," ).findall(link) if len(putlocker) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Putlocker[/COLOR]", url, 11, art + '/hosts/putlocker.png', art + '/hosts/putlocker.png') sockshare = re.compile( '<li class=link_name>sockshare</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(sockshare) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Sockshare[/COLOR]", url, 22, art + '/hosts/sockshare.png', art + '/hosts/sockshare.png') if len(sockshare) == 0: sockshare = re.compile( "javascript:window.open.+?'http://movie25.com/redirect.php.?url=http://www.sockshare.com/file/.+?'," ).findall(link) if len(sockshare) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Sockshare[/COLOR]", url, 22, art + '/hosts/sockshare.png', art + '/hosts/sockshare.png') nowvideo = re.compile( '<li class=link_name>nowvideo</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(nowvideo) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Nowvideo[/COLOR]", url, 24, art + '/hosts/nowvideo.png', art + '/hosts/nowvideo.png') oeupload = re.compile( '<li class=link_name>180upload</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(oeupload) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : 180upload[/COLOR]", url, 12, art + '/hosts/180upload.png', art + '/hosts/180upload.png') filenuke = re.compile( '<li class=link_name>filenuke</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(filenuke) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Filenuke[/COLOR]", url, 13, art + '/hosts/filenuke.png', art + '/hosts/filenuke.png') flashx = re.compile( '<li class=link_name>flashx</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(flashx) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Flashx[/COLOR]", url, 15, art + '/hosts/flashx.png', art + '/hosts/flashx.png') novamov = re.compile( '<li class=link_name>novamov</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(novamov) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Novamov[/COLOR]", url, 16, art + '/hosts/novamov.png', art + '/hosts/novamov.png') gorillavid = re.compile( '<li class=link_name>gorillavid</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(gorillavid) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Gorillavid[/COLOR]", url, 148, art + '/hosts/gorillavid.png', art + '/hosts/gorillavid.png') divxstage = re.compile( '<li class=link_name>divxstage</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(divxstage) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Divxstage[/COLOR]", url, 146, art + '/hosts/divxstage.png', art + '/hosts/divxstage.png') movshare = re.compile( '<li class=link_name>movshare</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(movshare) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Movshare[/COLOR]", url, 145, art + '/hosts/movshare.png', art + '/hosts/movshare.png') sharesix = re.compile( '<li class=link_name>sharesix</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(sharesix) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Sharesix[/COLOR]", url, 147, art + '/hosts/sharesix.png', art + '/hosts/sharesix.png') movpod = re.compile( '<li class=link_name>movpod</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(movpod) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Movpod[/COLOR]", url, 150, art + '/hosts/movpod.png', art + '/hosts/movpod.png') daclips = re.compile( '<li class=link_name>daclips</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(daclips) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Daclips[/COLOR]", url, 151, art + '/hosts/daclips.png', art + '/hosts/daclips.png') videoweed = re.compile( '<li class=link_name>videoweed</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(videoweed) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Videoweed[/COLOR]", url, 152, art + '/hosts/videoweed.png', art + '/hosts/videoweed.png') played = re.compile( '<li class=link_name>played</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(played) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Played[/COLOR]", url, 157, art + '/hosts/played.png', art + '/hosts/played.png') movdivx = re.compile( '<li class=link_name>movdivx</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(movdivx) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : MovDivx[/COLOR]", url, 153, art + '/hosts/movdivx.png', art + '/hosts/movdivx.png') movreel = re.compile( '<li class=link_name>movreel</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(movreel) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Movreel[/COLOR]", url, 154, art + '/hosts/movreel.png', art + '/hosts/movreel.png') billionuploads = re.compile( '<li class=link_name>billionuploads</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(billionuploads) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : BillionUploads[/COLOR]", url, 155, art + '/hosts/billionuploads.png', art + '/hosts/billionuploads.png') uploadc = re.compile( '<li class=link_name>uploadc</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(uploadc) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Uploadc[/COLOR]", url, 17, art + '/hosts/uploadc.png', art + '/hosts/uploadc.png') xvidstage = re.compile( '<li class=link_name>xvidstage</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(xvidstage) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Xvidstage[/COLOR]", url, 18, art + '/hosts/xvidstage.png', art + '/hosts/xvidstage.png') zooupload = re.compile( '<li class=link_name>zooupload</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(zooupload) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Zooupload[/COLOR]", url, 19, art + '/hosts/zooupload.png', art + '/hosts/zooupload.png') zalaa = re.compile( '<li class=link_name>zalaa</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(zalaa) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Zalaa[/COLOR]", url, 20, art + '/hosts/zalaa.png', art + '/hosts/zalaa.png') vidxden = re.compile( '<li class=link_name>vidxden</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(vidxden) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Vidxden[/COLOR]", url, 21, art + '/hosts/vidxden.png', art + '/hosts/vidxden.png') vidbux = re.compile( '<li class=link_name>vidbux</li><li class=".+?"><span><a href=(.+?) target=".+?">' ).findall(link) if len(vidbux) > 0: main.addDirb( name + " [COLOR red]" + quality + "[/COLOR]" + "[COLOR blue] : Vidbux[/COLOR]", url, 14, art + '/hosts/vidbux.png', art + '/hosts/vidbux.png')