示例#1
0
def BUPLOADSLINKS(name,url):
        link=main.OPENURL(url)
        link=link.replace('\r','').replace('\n','').replace('\t','').replace(' ','').replace('\\','')
        if selfAddon.getSetting("hide-download-instructions") != "true":
            main.addLink("[COLOR red]For Download Options, Bring up Context Menu Over Selected Link.[/COLOR]",'','')
        billionuploads=re.compile('<li class="link_name">billionuploads</li>.+?<li class=".+?"><span><a href="(.+?)" target=".+?">').findall(link)
        for url in billionuploads:
                main.addDown(name,MainUrl+url,5,art+'/hosts/billionuploads.png',art+'/hosts/billionuploads.png')
示例#2
0
def SOCKLINKS(name,url):
        link=main.OPENURL(url)
        main.addLink("[COLOR red]For Download Options, Bring up Context Menu Over Selected Link.[/COLOR]",'','')
        sockshare=re.compile('<li class=link_name>sockshare</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link)
        for url in sockshare:
                main.addDown(name,url,5,art+'/hosts/sockshare.png',art+'/hosts/sockshare.png')
        if len(sockshare) == 0:
                sockshare=re.compile("""javascript:window.open.+?'http://movie25.com/redirect.php.?url=(.+?)','.+?',.+?>(.+?)</a></span>""").findall(link)
                for url,part in sockshare:
                        match=re.compile("sockshare").findall(url)
                        if len(match) > 0:
                                main.addDown(name+"  [COLOR red]Part:"+part+"[/COLOR]",url,171,art+'/hosts/sockshare.png',art+'/hosts/sockshare.png')
示例#3
0
def SOCKLINKS(name,url):
        link=main.OPENURL(url)
        link=link.replace('\r','').replace('\n','').replace('\t','').replace('&nbsp;','').replace('\\','')
        if selfAddon.getSetting("hide-download-instructions") != "true":
            main.addLink("[COLOR red]For Download Options, Bring up Context Menu Over Selected Link.[/COLOR]",'','')
        sockshare=re.compile('<li class="link_name">sockshare</li>.+?<li class=".+?"><span><a href="(.+?)" target=".+?">').findall(link)
        for url in sockshare:
                main.addDown(name,MainUrl+url,5,art+'/hosts/sockshare.png',art+'/hosts/sockshare.png')
        if len(sockshare) == 0:
                sockshare=re.compile("""javascript:window.open.+?'http://movie25.com/redirect.php.?url=(.+?)','.+?',.+?>(.+?)</a></span>""").findall(link)
                for url,part in sockshare:
                        match=re.compile("sockshare").findall(url)
                        if len(match) > 0:
                                main.addDown(name+"  [COLOR red]Part:"+part+"[/COLOR]",url,171,art+'/hosts/sockshare.png',art+'/hosts/sockshare.png')
示例#4
0
def PUTLINKS(name, url):
    link = main.OPENURL(url)
    main.addLink(
        "[COLOR red]For Download Options, Bring up Context Menu Over Selected Link.[/COLOR]",
        '', '')
    putlocker = re.compile(
        '<li class=link_name>putlocker</li><li class=".+?"><span><a href=(.+?) target=".+?">'
    ).findall(link)
    for url in putlocker:
        main.addDown(name, url, 5, art + '/hosts/putlocker.png',
                     art + '/hosts/putlocker.png')
    if len(putlocker) == 0:
        putlocker = re.compile(
            """javascript:window.open.+?'http://movie25.com/redirect.php.?url=(.+?)','.+?',.+?>(.+?)</a></span>"""
        ).findall(link)
        for url, part in putlocker:
            match = re.compile("putlocker").findall(url)
            if len(match) > 0:
                main.addDown(name + "  [COLOR red]Part:" + part + "[/COLOR]",
                             url, 171, art + '/hosts/putlocker.png',
                             art + '/hosts/putlocker.png')
示例#5
0
def BUPLOADSLINKS(name,url):
        link=main.OPENURL(url)
        main.addLink("[COLOR red]For Download Options, Bring up Context Menu Over Selected Link.[/COLOR]",'','')
        billionuploads=re.compile('<li class=link_name>billionuploads</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link)
        for url in billionuploads:
                main.addDown(name,url,5,art+'/hosts/billionuploads.png',art+'/hosts/billionuploads.png')
示例#6
0
def MOVRLINKS(name,url):
        link=main.OPENURL(url)
        main.addLink("[COLOR red]For Download Options, Bring up Context Menu Over Selected Link.[/COLOR]",'','')
        movreel=re.compile('<li class=link_name>movreel</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link)
        for url in movreel:
                main.addDown(name,url,5,art+'/hosts/movreel.png',art+'/hosts/movreel.png')
示例#7
0
def VWEEDLINKS(name,url):
        link=main.OPENURL(url)
        main.addLink("[COLOR red]For Download Options, Bring up Context Menu Over Selected Link.[/COLOR]",'','')
        videoweed=re.compile('<li class=link_name>videoweed</li><li class=".+?"><span><a href=(.+?) target=".+?">').findall(link)
        for url in videoweed:
                main.addDown(name,url,5,art+'/hosts/Videoweed.png',art+'/hosts/Videoweed.png')