Beispiel #1
0
def Raider_Live_Loop(Search_name, url):
    if 'joker' in url:
        ADD_NAME = '[COLORgreen]Joker[/COLOR]'
    if 'raider' in url:
        ADD_NAME = '[COLORblue]Raider[/COLOR]'
    if 'oblivion' in url:
        ADD_NAME = '[COLORlightblue]Oblivion[/COLOR]'
    HTML = process.OPEN_URL(url)
    loop = re.compile(
        '<name>.+?</name>.+?<thumbnail>.+?</thumbnail>.+?<externallink>(.+?)</externallink>.+?<fanart>.+?</fanart>',
        re.DOTALL).findall(HTML)
    for url in loop:
        Raider_Live_Loop(Search_name, url)
    match = re.compile(
        '<title>(.+?)</title>.+?<sportsdevil>(.+?)</sportsdevil>.+?<thumbnail>(.+?)</thumbnail>',
        re.DOTALL).findall(HTML)
    for name, url, img in match:
        if Search_name in name.lower():
            from pyramid.pyramid import addLink
            url = 'plugin://plugin.video.SportsDevil/?mode=1&amp;item=catcher%3dstreams%26url=' + url
            addLink(url, ADD_NAME + ' ' + name, img, '', '', '', '', '', None,
                    '', 1)
    match2 = re.compile(r'#EXTINF:(.+?),(.*?)[\n\r]+([^\n]+)').findall(HTML)
    for ignore, name, url in match2:
        if Search_name in name.lower():
            if 'http' in url:
                from pyramid.pyramid import addLink
                addLink(url, ADD_NAME + ' ' + name, '', '', '', '', '', '',
                        None, '', 1)
Beispiel #2
0
def Live_TV(Search_name):
    dp.create('Checking for streams')
    Oblivion_list = ['FreeSports.m3u','FreeKids.m3u','FreeMovies.m3u','FreeUK.m3u','FreeUS.m3u']
    Joker_live_list = ['http://jokerswizard.esy.es/joker/data/sports/sports.txt','http://jokerstv.no-ip.org/data/livetv/worldtv.xml','http://jokerstv.no-ip.org/data/livetv/news.xml',
	'http://jokerstv.no-ip.org/data/livetv/iptv.xml']
    Raider_live_list = ['http://tombraiderbuilds.co.uk/addon/skysportslive/skysportslive.txt','http://tombraiderbuilds.co.uk/addon/beinsportslive/beinsportslive.txt',
	'http://tombraiderbuilds.co.uk/addon/sportschannels/sportschannels.txt','http://tombraiderbuilds.co.uk/addon/btsportslive/btsportslive.txt']
    HTML = open(freeview_py).read()
    block = re.compile('def CATEGORIES(.+?)#4Music',re.DOTALL).findall(HTML)
    match = re.compile("addLink\('(.+?)','(.+?)',(.+?),(.+?)\)").findall(str(block))
    dp.update(0,'',"Checking Freeview",'Please Wait')
    for name,url,mode,img in match:
    	if Search_name in name.lower():
            from freeview.freeview import addLink
            addLink('[COLORred]Freeview [/COLOR]'+name,url,mode,img)
    dp.update(25,'',"Checking Oblivion",'Please Wait')
    for item in Oblivion_list:
        from pyramid._EditOblivion import MainBase as OblivionMain
        Raider_Live_Loop(Search_name,(OblivionMain).replace('Free.xml',item))
    dp.update(50,'',"Checking Joker",'Please Wait')
    for item in Joker_live_list:
        Raider_Live_Loop(Search_name,item)
#    dp.update(75,'',"Checking Raider",'Please Wait')
#    for item in Raider_live_list:
#        Raider_Live_Loop(Search_name,item)
    dp.update(100,'',"Finished checking",'Please Wait')
    dp.close()
Beispiel #3
0
def Live_TV(Search_name):
    if Search_name.lower() == 'w':
        Search_name = 'Watch'
    dp.create('Checking for streams - ' + Search_name)
    #    Oblivion_list = ['FreeSports.xml','FreeTesting.xml','Server1.m3u','Server2.m3u','Kid.xml']
    WIZtv_List = [
        'https://pastebin.com/raw/RKnSmnZi',
        'https://pastebin.com/raw/RKnSmnZi',
    ]
    #searches entire list, real slow    WIZtv_List = ['https://pastebin.com/raw/vQZZFeES','https://pastebin.com/raw/AcKSzic5',]

    #    Ultra_List = ['http://ultratv.net16.net/iptvserver/ukiptv1.xml','http://ultratv.net16.net/iptvserver/usaiptv1.xml',
    #    'http://ultratv.net16.net/iptvserver/canadaiptv1.xml','http://ultratv.net16.net/iptvserver/indiaiptv1.xml']
    HTML = open(freeview_py).read()
    block = re.compile('def CATEGORIES(.+?)#4Music', re.DOTALL).findall(HTML)
    match = re.compile("addLink\('(.+?)','(.+?)',(.+?),(.+?)\)").findall(
        str(block))
    if ADDON.getSetting('Freeview_Search') == 'true':
        dp.update(0, '', "Checking Freeview", 'Please Wait')
        for name, url, mode, img in match:
            if (Search_name).replace(' ', '') in (name).replace(' ',
                                                                '').lower():
                from freeview.freeview import addLink
                addLink('[COLORred]Freeview [/COLOR]' + name, url, mode, img)
    if ADDON.getSetting('Oblivion_Search') == 'true':
        dp.update(15, '', "Checking Oblivion", 'Please Wait')
        for item in Oblivion_list:
            import base64
            OblivionMain = base64.decodestring(
                'aHR0cDovL29ibGl2aW9uYnVpbGRzLmNvbS9GcmVlLnhtbA==')
            Thread(target=Raider_Live_Loop(
                Search_name, OblivionMain.replace('Free.xml', item)))
    if ADDON.getSetting('Pyramid_Search') == 'true':
        dp.update(45, '', "Checking Pyramid", 'Please Wait')
        for item in Raider_live_list:
            Thread(target=Raider_Live_Loop(Search_name, item))
    if ADDON.getSetting("Tigen's_World_Search") == 'true':
        dp.update(60, '', "Checking Lily Sports", 'Please Wait')
        for item in Lily_List:
            Thread(target=Raider_Live_Loop(Search_name, item))
    if ADDON.getSetting('Supremacy_Search') == 'true':
        for item in Supremecy_List:
            dp.update(70, '', "Checking Supremacy", 'Please Wait')
            Thread(target=Raider_Live_Loop(Search_name, item))
    if ADDON.getSetting('WIZtv_Search') == 'true':
        for item in WIZtv_List:
            dp.update(80, '', "Checking WIZtv", 'Please Wait')
            Thread(target=Raider_Live_Loop(Search_name, item))
    if ADDON.getSetting('Ultra_Search') == 'true':
        for item in Ultra_List:
            dp.update(90, '', "Checking Ultra", 'Please Wait')
            Thread(target=Raider_Live_Loop(Search_name, item))
    dp.update(100, '', "Finished checking", 'Please Wait')
    dp.close()
Beispiel #4
0
def GetContent(url,iconimage):
        link=process.OPEN_URL(url)
        match= re.compile('<link>(.+?)</link><thumbnail>(.+?)</thumbnail><title>(.+?)</title>').findall(link)
        for url,iconimage,name in match:
                if not 'http' in iconimage:iconimage=''
                if '/coldasice/' in url:
                    process.Menu(name,url,1801,iconimage,'','','')
                elif 'letwatch' in url:
                    name = '[COLORred]*[/COLOR]'+name
                    from freeview.freeview import addLink
                    addLink(name,url,1802,iconimage)
                else:
                    from freeview.freeview import addLink
                    addLink(name,url,1802,iconimage)
Beispiel #5
0
def GetContent(url,iconimage):
        link=process.OPEN_URL(url)
        match= re.compile('<link>(.+?)</link><thumbnail>(.+?)</thumbnail><title>(.+?)</title>').findall(link)
        for url,iconimage,name in match:
                if not 'http' in iconimage:iconimage=''
                if '/coldasice/' in url:
                    process.Menu(name,url,1801,iconimage,'','','')
                elif 'letwatch' in url:
                    name = '[COLORred]*[/COLOR]'+name
                    from freeview.freeview import addLink
                    addLink(name,url,1802,iconimage)
                else:
                    from freeview.freeview import addLink
                    addLink(name,url,1802,iconimage)
Beispiel #6
0
def Cold_AS_Ice(Search_name):
	HTML = process.OPEN_URL('http://g10.x10host.com/coldasice/Boxsets/Index.txt')
	match= re.compile('<link>(.+?)</link><thumbnail>(.+?)</thumbnail><title>(.+?)</title>').findall(HTML)
	for url,image,name in match:
		if (Search_name).replace(' ','') in (name).replace(' ','').lower():
			name = '[COLORsteelblue]Cold As Ice [/COLOR]' + name
			if '/coldasice/' in url:
				process.Menu(name,url,1801,image,'','','')
			elif 'letwatch' in url:
				name = '[COLORred]*[/COLOR]'+name
				from freeview.freeview import addLink
				addLink(name,url,1802,iconimage)
			else:
				from freeview.freeview import addLink
				addLink(name,url,1802,iconimage)
def Cold_AS_Ice(Search_name):
    HTML = process.OPEN_URL(
        'http://g10.x10host.com/coldasice/Boxsets/Index.txt')
    match = re.compile(
        '<link>(.+?)</link><thumbnail>(.+?)</thumbnail><title>(.+?)</title>'
    ).findall(HTML)
    for url, image, name in match:
        if (Search_name).replace(' ', '') in (name).replace(' ', '').lower():
            name = '[COLORsteelblue]Cold As Ice [/COLOR]' + name
            if '/coldasice/' in url:
                process.Menu(name, url, 1801, image, '', '', '')
            elif 'letwatch' in url:
                name = '[COLORred]*[/COLOR]' + name
                from freeview.freeview import addLink
                addLink(name, url, 1802, iconimage)
            else:
                from freeview.freeview import addLink
                addLink(name, url, 1802, iconimage)
Beispiel #8
0
def Raider_Loop(Search_name,url):
    if 'joker' in url:
        ADD_NAME = '[COLORgreen]Joker[/COLOR]'
    if 'raider' in url:
        ADD_NAME = '[COLORblue]Raider[/COLOR]'
    HTML = process.OPEN_URL(url)
    if HTML != 'Failed':
        match = re.compile('<channel>.+?<name>(.+?)</name>.+?<thumbnail>(.+?)</thumbnail>.+?<externallink>(.+?)</externallink>.+?<fanart>(.+?)</fanart>.+?</channel>',re.DOTALL).findall(HTML)
        for name,image,url,fanart in match:
            if not 'http:' in url:
                pass
            else:
                Raider_Loop(Search_name,url)
        match2 = re.compile('<title>(.+?)</title>.+?<link>(.+?)</link>.+?<thumbnail>(.+?)</thumbnail>.+?<fanart>(.+?)</fanart>',re.DOTALL).findall(HTML)
        for name,url,image,fanart in match2:
            if 'http:' in url:
                if Search_name.lower() in name.lower():
                    from pyramid.pyramid import addLink
                    addLink(url, ADD_NAME + ' ' +name,image,fanart,'','','','',None,'',1)
Beispiel #9
0
def Live_TV(Search_name):
    dp.create('Checking for streams')
    Oblivion_list = [
        'FreeSports.m3u', 'FreeKids.m3u', 'FreeMovies.m3u', 'FreeUK.m3u',
        'FreeUS.m3u'
    ]
    Joker_live_list = [
        'http://jokerswizard.esy.es/joker/data/sports/sports.txt',
        'http://jokerstv.no-ip.org/data/livetv/worldtv.xml',
        'http://jokerstv.no-ip.org/data/livetv/news.xml',
        'http://jokerstv.no-ip.org/data/livetv/iptv.xml'
    ]
    Raider_live_list = [
        'http://tombraiderbuilds.co.uk/addon/skysportslive/skysportslive.txt',
        'http://tombraiderbuilds.co.uk/addon/beinsportslive/beinsportslive.txt',
        'http://tombraiderbuilds.co.uk/addon/sportschannels/sportschannels.txt',
        'http://tombraiderbuilds.co.uk/addon/btsportslive/btsportslive.txt'
    ]
    HTML = open(freeview_py).read()
    block = re.compile('def CATEGORIES(.+?)#4Music', re.DOTALL).findall(HTML)
    match = re.compile("addLink\('(.+?)','(.+?)',(.+?),(.+?)\)").findall(
        str(block))
    dp.update(0, '', "Checking Freeview", 'Please Wait')
    for name, url, mode, img in match:
        if Search_name in name.lower():
            from freeview.freeview import addLink
            addLink('[COLORred]Freeview [/COLOR]' + name, url, mode, img)
    dp.update(25, '', "Checking Oblivion", 'Please Wait')
    for item in Oblivion_list:
        from pyramid._EditOblivion import MainBase as OblivionMain
        Raider_Live_Loop(Search_name, (OblivionMain).replace('Free.xml', item))
    dp.update(50, '', "Checking Joker", 'Please Wait')
    for item in Joker_live_list:
        Raider_Live_Loop(Search_name, item)


#    dp.update(75,'',"Checking Raider",'Please Wait')
#    for item in Raider_live_list:
#        Raider_Live_Loop(Search_name,item)
    dp.update(100, '', "Finished checking", 'Please Wait')
    dp.close()
Beispiel #10
0
def Raider_Live_Loop(Search_name,url):
    if 'joker' in url:
        ADD_NAME = '[COLORgreen]Joker[/COLOR]'
    if 'raider' in url:
        ADD_NAME = '[COLORblue]Raider[/COLOR]'
    if 'oblivion' in url:
        ADD_NAME = '[COLORlightblue]Oblivion[/COLOR]'
    HTML = process.OPEN_URL(url)
    loop = re.compile('<name>.+?</name>.+?<thumbnail>.+?</thumbnail>.+?<externallink>(.+?)</externallink>.+?<fanart>.+?</fanart>',re.DOTALL).findall(HTML)
    for url in loop:
        Raider_Live_Loop(Search_name,url)
    match = re.compile('<title>(.+?)</title>.+?<sportsdevil>(.+?)</sportsdevil>.+?<thumbnail>(.+?)</thumbnail>',re.DOTALL).findall(HTML)
    for name,url,img in match: 
    	if Search_name in name.lower():
            from pyramid.pyramid import addLink
            url = 'plugin://plugin.video.SportsDevil/?mode=1&amp;item=catcher%3dstreams%26url=' +url
            addLink(url, ADD_NAME + ' ' +name,img,'','','','','',None,'',1)
    match2 = re.compile(r'#EXTINF:(.+?),(.*?)[\n\r]+([^\n]+)').findall(HTML)
    for ignore,name,url in match2:
    	if Search_name in name.lower():
            if 'http' in url:
                from pyramid.pyramid import addLink
                addLink(url,ADD_NAME + ' ' +name,'','','','','','',None,'',1)
Beispiel #11
0
def Raider_Loop(Search_name, url):
    if 'joker' in url:
        ADD_NAME = '[COLORgreen]Joker[/COLOR]'
    if 'raider' in url:
        ADD_NAME = '[COLORblue]Raider[/COLOR]'
    HTML = process.OPEN_URL(url)
    if HTML != 'Failed':
        match = re.compile(
            '<channel>.+?<name>(.+?)</name>.+?<thumbnail>(.+?)</thumbnail>.+?<externallink>(.+?)</externallink>.+?<fanart>(.+?)</fanart>.+?</channel>',
            re.DOTALL).findall(HTML)
        for name, image, url, fanart in match:
            if not 'http:' in url:
                pass
            else:
                Raider_Loop(Search_name, url)
        match2 = re.compile(
            '<title>(.+?)</title>.+?<link>(.+?)</link>.+?<thumbnail>(.+?)</thumbnail>.+?<fanart>(.+?)</fanart>',
            re.DOTALL).findall(HTML)
        for name, url, image, fanart in match2:
            if 'http:' in url:
                if Search_name.lower() in name.lower():
                    from pyramid.pyramid import addLink
                    addLink(url, ADD_NAME + ' ' + name, image, fanart, '', '',
                            '', '', None, '', 1)
Beispiel #12
0
def Raider_Live_Loop(Search_name,url):
    if '164.132' in url:
        ADD_NAME = '[COLORgreen]Maverick[/COLOR]'
    elif 'raider' in url:
        ADD_NAME = '[COLORblue]Pyramid[/COLOR]'
    elif 'simplekore' in url:
        ADD_NAME = '[COLORred]Supremacy[/COLOR]'
    elif 'oblivion' in url:
        ADD_NAME = '[COLORlightblue]Oblivion[/COLOR]'
    elif 'kodeeresurrection' in url:
        ADD_NAME = '[COLORpurple]Lily Sport\'s[/COLOR]'
    elif 'cunts' in url:
        ADD_NAME = '[COLORwhite]BAMF[/COLOR]'
    elif 'ilent' in url:
        ADD_NAME = '[COLORsteelblue]Silent Hunter[/COLOR]'
    else:
        ADD_NAME = '[COLORwhite]Ultra[/COLOR]'
    HTML = process.OPEN_URL(url)
    match2 = re.compile('<title>(.+?)</title>.+?<link>(.+?)</link>.+?<thumbnail>(.+?)</thumbnail>.+?<fanart>(.+?)</fanart>',re.DOTALL).findall(HTML)
    for name,link,image,fanart in match2:
    	if (Search_name).lower().replace('sports','sport').replace('sport','sports').replace(' ','') in (name).lower().replace(' ','').replace('sports','sport').replace('sport','sports'):
            if 'sublink' in link:
                if 'http' in link:			 
                    from pyramid.pyramid import addDir
                    addDir(ADD_NAME + ' ' +name,link,1130,image,fanart,'','','','')
            else:
                if 'http' in link:			 
                    from pyramid.pyramid import addLink
                    addLink(link, ADD_NAME + ' ' +name,image,'','','','','',None,'',1)
    loop = re.compile('<name>.+?</name>.+?<thumbnail>.+?</thumbnail>.+?<externallink>(.+?)</externallink>.+?<fanart>.+?</fanart>',re.DOTALL).findall(HTML)
    for url in loop:
        if 'http' in url:			 
            Raider_Live_Loop(Search_name,url)
    match = re.compile('<title>(.+?)</title>.+?<sportsdevil>(.+?)</sportsdevil>.+?<thumbnail>(.+?)</thumbnail>',re.DOTALL).findall(HTML)
    for name,url,img in match: 
    	if (Search_name).replace(' ','') in (name).replace(' ','').lower():
            from pyramid.pyramid import addLink
            url = 'plugin://plugin.video.SportsDevil/?mode=1&amp;item=catcher%3dstreams%26url=' +url
            addLink(url, ADD_NAME + ' ' +name,img,'','','','','',None,'',1)
    match2 = re.compile(r'#EXTINF:(.+?),(.*?)[\n\r]+([^\n]+)').findall(HTML)
    for ignore,name,url in match2:
        total = len(match2)
    	if (Search_name).lower().replace(' ','').replace('sports','sport').replace('sport','sports') in (name).lower().replace(' ','').replace('sports','sport').replace('sport','sports'):
            if 'http' in url:
                from pyramid.pyramid import addLink
                addLink(url,ADD_NAME + ' ' +name,'','','','','','',None,'',total)
            else:
                if '{PQ},' in url:
                    from pyramid.pyramid import Decrypt_Link
                    Decrypt_Link(ignore,ADD_NAME+' '+name,url,total)
Beispiel #13
0
def Raider_TV(Search_name, start_url):
    if 'raider' in start_url:
        ADD_NAME = '[COLORblue]Pyramid[/COLOR]'
    elif 'kodeeresurrection' in start_url:
        ADD_NAME = '[COLORpink]Tigen\'s World[/COLOR]'
    if 'season' in Search_name.lower():
        Type = 'single_ep'
        name_splitter = Search_name + '<>'
        name_split = re.compile(
            '(.+?) - season (.+?) episode (.+?)<>').findall(
                str(name_splitter).lower())
        for name, season, episode in name_split:
            title = name
            season = season
            episode = episode
        year = ''
    else:
        Type = 'full_show'
        title = Search_name
    HTML = process.OPEN_URL(start_url)
    if HTML != 'Opened':
        match = re.compile(
            '<channel>.+?<name>(.+?)</name>.+?<thumbnail>(.+?)</thumbnail>.+?<externallink>(.+?)</externallink>.+?<fanart>(.+?)</fanart>.+?</channel>',
            re.DOTALL).findall(HTML)
        for name, image, url10, fanart in match:
            if title.lower().replace(' ', '') in name.lower().replace(' ', ''):
                if Type == 'full_show':
                    name = '[COLORblue]Pyramid[/COLOR] ' + name
                    process.Menu(name, url10, '', image, fanart, '', '')
                elif Type == 'single_ep':
                    xbmc.log(url10)
                    html10 = process.OPEN_URL(url10)
                    seasons = re.compile(
                        '<channel>.+?<name>(.+?)</name>.+?<thumbnail>(.+?)</thumbnail>.+?<externallink>(.+?)</externallink>.+?<fanart>(.+?)</fanart>.+?</channel>',
                        re.DOTALL).findall(html10)
                    for season_name, image, url11, fanart in seasons:
                        xbmc.log('~~~~~~' + season_name)
                        season_number = re.compile('season (.+?)>').findall(
                            str(
                                season_name.replace('[/B]', '').replace(
                                    '[/COLOR]', '').lower()) + '>')
                        for seas_no in season_number:
                            season_number = seas_no
                            season_number = clean_name.clean_number(
                                season_number)
                        xbmc.log('SEASON NO = ' + str(season_number))
                        if season == season_number.replace(' ', ''):
                            html12 = process.OPEN_URL(url11)
                            episodes = re.compile(
                                '<title>(.+?)</title>.+?<link>(.+?)</link>.+?<thumbnail>(.+?)</thumbnail>.+?<fanart>(.+?)</fanart>',
                                re.DOTALL).findall(html12)
                            for name, url, image, fanart in episodes:
                                ep_no = re.compile('s.+?e(.+?)>').findall(
                                    str(
                                        name.replace(title, '').replace(
                                            '[/COLOR]', '').lower() + '>'))
                                for ep_no in ep_no:
                                    ep_no = ep_no
                                if ep_no.replace(' ',
                                                 '').replace('480p',
                                                             '') == episode:
                                    from pyramid.pyramid import addLink
                                    addLink(url, ADD_NAME + ' | ' + name,
                                            image, fanart, '', '', '', '',
                                            None, '', 1)
Beispiel #14
0
def Live_TV(Search_name):
    if Search_name.lower() == 'w':
        Search_name = 'Watch'
    dp.create('Checking for streams - ' + Search_name)
    Oblivion_list = ['FreeSports.xml','FreeTesting.xml','Server1.m3u','Server2.m3u','Kid.xml']
    Joker_live_list = ['http://164.132.106.213/data/sports/sports.txt','http://164.132.106.213/data/livetv/worldtv.xml','http://164.132.106.213/data/livetv/news.xml',
	'http://164.132.106.213/data/livetv/iptv.xml']
    Raider_live_list = ['http://tombraiderbuilds.co.uk/addon/beinsportslive/beinsportslive.txt','http://tombraiderbuilds.co.uk/addon/btsportslive/btsportslive.txt',
    'http://tombraiderbuilds.co.uk/addon/sportschannels/','http://tombraiderbuilds.co.uk/addon/ukentertainment/filmon.txt',
    'http://tombraiderbuilds.co.uk/addon/ukentertainment/filmonmovies.txt','http://tombraiderbuilds.co.uk/addon/ukentertainment/freeworldiptv.txt',
    'http://tombraiderbuilds.co.uk/addon/ukentertainment/freeworldiptv.txt','http://tombraiderbuilds.co.uk/addon/ukentertainment/usfreeview.txt',
    'http://tombraiderbuilds.co.uk/addon/newschannels/newschannels.txt','http://tombraiderbuilds.co.uk/addon/skysportslive/skysportslive.txt']
    Lily_List = ['http://kodeeresurrection.com/LILYSPORTStxts/livetv.txt','http://kodeeresurrection.com/LILYSPORTStxts/musictv.txt.txt','http://kodeeresurrection.com/LILYSPORTStxts/sport.txt']
    BAMF_List = ['http://genietvcunts.co.uk/bamffff/bamf.iptv.m3u','http://genietvcunts.co.uk/bamffff/Server2.m3u',
    'http://genietvcunts.co.uk/bamffff/BAMF.Sport.m3u','http://genietvcunts.co.uk/bamffff/BAMFSKYMOVIES.m3u']
    Supremecy_List = ['https://simplekore.com/wp-content/uploads/file-manager/steboy11/LiveTV/live.txt',
    'https://simplekore.com/wp-content/uploads/file-manager/steboy11/Kids%20Tv/Kids%20Tv.txt',
    'https://simplekore.com/wp-content/uploads/file-manager/steboy11/Sky%20Movies/Sky%20Movies.txt',
    'https://simplekore.com/wp-content/uploads/file-manager/steboy11/Sport/sport.txt']
    Ultra_List = ['http://ultratv.net16.net/iptvserver/ukiptv1.xml','http://ultratv.net16.net/iptvserver/usaiptv1.xml',
    'http://ultratv.net16.net/iptvserver/canadaiptv1.xml','http://ultratv.net16.net/iptvserver/indiaiptv1.xml']
    HTML = open(freeview_py).read()
    block = re.compile('def CATEGORIES(.+?)#4Music',re.DOTALL).findall(HTML)
    match = re.compile("addLink\('(.+?)','(.+?)',(.+?),(.+?)\)").findall(str(block))
    if ADDON.getSetting('Freeview_Search')=='true':
        dp.update(0,'',"Checking Freeview",'Please Wait')
        for name,url,mode,img in match:
    	    if (Search_name).replace(' ','') in (name).replace(' ','').lower():
                from freeview.freeview import addLink
                addLink('[COLORred]Freeview [/COLOR]'+name,url,mode,img)
    if ADDON.getSetting('Oblivion_Search')=='true':
        dp.update(15,'',"Checking Oblivion",'Please Wait')
        for item in Oblivion_list:
            import base64
            OblivionMain = base64.decodestring('aHR0cDovL29ibGl2aW9uYnVpbGRzLmNvbS9GcmVlLnhtbA==')
            Thread(target=Raider_Live_Loop(Search_name,OblivionMain.replace('Free.xml',item)))
    if ADDON.getSetting('Maverick_Search')=='true':
        dp.update(30,'',"Checking Maverick",'Please Wait')
        for item in Joker_live_list:
            Thread(target=Raider_Live_Loop(Search_name,item))
    if ADDON.getSetting('Pyramid_Search')=='true':
        dp.update(45,'',"Checking Pyramid",'Please Wait')
        for item in Raider_live_list:
            Thread(target=Raider_Live_Loop(Search_name,item))
    if ADDON.getSetting("Tigen's_World_Search")=='true':
        dp.update(60,'',"Checking Lily Sports",'Please Wait')
        for item in Lily_List:
            Thread(target=Raider_Live_Loop(Search_name,item))
    if ADDON.getSetting('Supremacy_Search')=='true':
        for item in Supremecy_List:
            dp.update(70,'',"Checking Supremacy",'Please Wait')
            Thread(target=Raider_Live_Loop(Search_name,item))
    if ADDON.getSetting('BAMF_Search')=='true':
        for item in BAMF_List:
            dp.update(80,'',"Checking BAMF",'Please Wait')
            Thread(target=Raider_Live_Loop(Search_name,item))	
    if ADDON.getSetting('Ultra_Search')=='true':
        for item in Ultra_List:
            dp.update(90,'',"Checking Ultra",'Please Wait')
            Thread(target=Raider_Live_Loop(Search_name,item))	
    dp.update(100,'',"Finished checking",'Please Wait')
    dp.close()
Beispiel #15
0
def Raider_Loop(Search_name,url):
    if '164.132' in url:
        ADD_NAME = '[COLORgreen]Maverick [/COLOR] '
    elif 'raider' in url:
        ADD_NAME = '[COLORblue]Pyramid[/COLOR] '
    elif 'kodeeresurrection' in url:	
        ADD_NAME = '[COLORpink]Tigen\'s World[/COLOR] '
    elif 'ilent' in url:
        ADD_NAME = '[COLORsteelblue]Silent Hunter[/COLOR]'
    else:
        ADD_NAME = ''
    if 'MULTILINK' in url:
        if 'TIGEN' in url:
            TigenList = ['http://kodeeresurrection.com/TigensWorldtxt/Movies/Txts/TigensMoviesSub.txt','http://kodeeresurrection.com/LILYSPORTStxts/MovieRack/txts/NUMBER%20TITLES.txt',
	        'http://kodeeresurrection.com/LILYSPORTStxts/MovieRack/txts/A-F.txt','http://kodeeresurrection.com/LILYSPORTStxts/MovieRack/txts/G-L.txt','http://kodeeresurrection.com/LILYSPORTStxts/MovieRack/txts/M-R.txt',
	        'http://kodeeresurrection.com/LILYSPORTStxts/MovieRack/txts/S-Z.txt','http://kodeeresurrection.com/LILYSPORTStxts/boxsetssub.txt']
            List = TigenList
        for item in List:
            if 'boxset' in item:
                HTML = process.OPEN_URL(item)
                match = re.compile('<name>(.+?)</name>.+?<thumbnail>(.+?)</thumbnail>.+?<externallink>(.+?)</externallink>.+?<fanart>(.+?)</fanart>',re.DOTALL).findall(HTML)
                for name,image,url,fanart in match:
                    if (Search_name).replace(' ','').lower() in (name).replace(' ','').lower():
                        from pyramid.pyramid import addDir
                        addDir('[COLORpink]Tigen\'s World[/COLOR] '+name,url,1101,image,fanart,'','','','')
            else:
				HTML = process.OPEN_URL(item)
				if HTML != 'Opened':
					match = re.compile('<channel>.+?<name>(.+?)</name>.+?<thumbnail>(.+?)</thumbnail>.+?<externallink>(.+?)</externallink>.+?<fanart>(.+?)</fanart>.+?</channel>',re.DOTALL).findall(HTML)
					for name,image,url,fanart in match:
						if 'http:' in url:
							Raider_Loop(Search_name,url)
					match2 = re.compile('<title>(.+?)</title>.+?<link>(.+?)</link>.+?<thumbnail>(.+?)</thumbnail>.+?<fanart>(.+?)</fanart>',re.DOTALL).findall(HTML)
					for name,url,image,fanart in match2:
						if 'http:' in url:
							if (Search_name).replace(' ','').lower() in (name).replace(' ','').lower():
							    from pyramid.pyramid import addLink
							    addLink(url, '[COLORpink]Tigen\'s World[/COLOR] '+name,image,fanart,'','','','',None,'',1)
    HTML = process.OPEN_URL(url)
    if HTML != 'Opened':
        match2 = re.compile('<title>(.+?)</title>.+?<link>(.+?)</link>.+?<thumbnail>(.+?)</thumbnail>.+?<fanart>(.+?)</fanart>',re.DOTALL).findall(HTML)
        for name,link,image,fanart in match2:
            if (Search_name).replace(' ','') in (name).replace(' ','').lower():
                if 'sublink' in link:
                    from pyramid.pyramid import addDir
                    addDir(ADD_NAME + ' ' +name,link,1130,image,fanart,'','','','')
                else:
                    from pyramid.pyramid import addLink
                    addLink(link, ADD_NAME + ' ' +name,image,'','','','','',None,'',1)        
        match = re.compile('<channel>.+?<name>(.+?)</name>.+?<thumbnail>(.+?)</thumbnail>.+?<externallink>(.+?)</externallink>.+?<fanart>(.+?)</fanart>.+?</channel>',re.DOTALL).findall(HTML)
        for name,image,url,fanart in match:
            if not 'http:' in url:
                pass
            else:
                Raider_Loop(Search_name,url)
        match2 = re.compile('<title>(.+?)</title>.+?<link>(.+?)</link>.+?<thumbnail>(.+?)</thumbnail>.+?<fanart>(.+?)</fanart>',re.DOTALL).findall(HTML)
        for name,url,image,fanart in match2:
            if 'http:' in url:
                if (Search_name).replace(' ','') in (name).replace(' ','').lower():
                    from pyramid.pyramid import addLink
                    addLink(url, ADD_NAME + ' ' +name,image,fanart,'','','','',None,'',1)
Beispiel #16
0
def Raider_Loop(Search_name, url):
    if 'raider' in url:
        ADD_NAME = '[COLORblue]Pyramid[/COLOR] '
    elif 'kodeeresurrection' in url:
        ADD_NAME = '[COLORpink]Tigen\'s World[/COLOR] '
    elif 'ilent' in url:
        ADD_NAME = '[COLORsteelblue]Silent Hunter[/COLOR]'
    else:
        ADD_NAME = ''
    if 'MULTILINK' in url:
        if 'TIGEN' in url:
            if Search_name[0].lower() in 'abcdef':
                single = 'http://kodeeresurrection.com/LILYSPORTStxts/MovieRack/txts/A-F.txt'
            elif Search_name[0].lower() in 'ghijkl':
                single = 'http://kodeeresurrection.com/LILYSPORTStxts/MovieRack/txts/G-L.txt'
            elif Search_name[0].lower() in 'mnopqr':
                single = 'http://kodeeresurrection.com/LILYSPORTStxts/MovieRack/txts/M-R.txt'
            elif Search_name[0].lower() in 'stuvwxyz':
                single = 'http://kodeeresurrection.com/LILYSPORTStxts/MovieRack/txts/S-Z.txt'
            else:
                single = 'http://kodeeresurrection.com/LILYSPORTStxts/MovieRack/txts/NUMBER%20TITLES.txt'
            HTML = process.OPEN_URL(
                'http://kodeeresurrection.com/LILYSPORTStxts/boxsetssub.txt')
            match = re.compile(
                '<name>(.+?)</name>.+?<thumbnail>(.+?)</thumbnail>.+?<externallink>(.+?)</externallink>.+?<fanart>(.+?)</fanart>',
                re.DOTALL).findall(HTML)
            for name, image, url, fanart in match:
                if (Search_name).lower().replace(' ',
                                                 '').lower() in (name).replace(
                                                     ' ', '').lower():
                    from pyramid.pyramid import addDir
                    addDir('[COLORpink]Tigen\'s World[/COLOR] ' + name, url,
                           1101, image, fanart, '', '', '', '')
            HTML2 = process.OPEN_URL(single)
            if HTML2 != 'Opened':
                match = re.compile(
                    '<channel>.+?<name>(.+?)</name>.+?<thumbnail>(.+?)</thumbnail>.+?<externallink>(.+?)</externallink>.+?<fanart>(.+?)</fanart>.+?</channel>',
                    re.DOTALL).findall(HTML2)
                for name, image, url, fanart in match:
                    if 'http:' in url:
                        Raider_Loop(Search_name, url)
                        match2 = re.compile(
                            '<title>(.+?)</title>.+?<link>(.+?)</link>.+?<thumbnail>(.+?)</thumbnail>.+?<fanart>(.+?)</fanart>',
                            re.DOTALL).findall(HTML)
                        for name, url, image, fanart in match2:
                            if 'http:' in url:
                                if (Search_name).lower().replace(
                                        ' ', '').lower() in (name).replace(
                                            ' ', '').lower():
                                    from pyramid.pyramid import addLink
                                    addLink(
                                        url,
                                        '[COLORpink]Tigen\'s World[/COLOR] ' +
                                        name, image, fanart, '', '', '', '',
                                        None, '', 1)
            HTML3 = process.OPEN_URL(
                'http://kodeeresurrection.com/TigensWorldtxt/Movies/Txts/TigensMoviesSub.txt'
            )
            if HTML2 != 'Opened':
                match = re.compile(
                    '<channel>.+?<name>(.+?)</name>.+?<thumbnail>(.+?)</thumbnail>.+?<externallink>(.+?)</externallink>.+?<fanart>(.+?)</fanart>.+?</channel>',
                    re.DOTALL).findall(HTML2)
                for name, image, url, fanart in match:
                    if 'http:' in url:
                        Raider_Loop(Search_name, url)
                        match2 = re.compile(
                            '<title>(.+?)</title>.+?<link>(.+?)</link>.+?<thumbnail>(.+?)</thumbnail>.+?<fanart>(.+?)</fanart>',
                            re.DOTALL).findall(HTML)
                        for name, url, image, fanart in match2:
                            if 'http:' in url:
                                if (Search_name).lower().replace(
                                        ' ', '').lower() in (name).replace(
                                            ' ', '').lower():
                                    from pyramid.pyramid import addLink
                                    addLink(
                                        url,
                                        '[COLORpink]Tigen\'s World[/COLOR] ' +
                                        name, image, fanart, '', '', '', '',
                                        None, '', 1)

    else:
        HTML = process.OPEN_URL(url)
        if HTML != 'Opened':
            match2 = re.compile(
                '<title>(.+?)</title>.+?<link>(.+?)</link>.+?<thumbnail>(.+?)</thumbnail>.+?<fanart>(.+?)</fanart>',
                re.DOTALL).findall(HTML)
            for name, link, image, fanart in match2:
                if (Search_name).lower().replace(' ', '') in (name).replace(
                        ' ', '').lower():
                    if 'sublink' in link:
                        from pyramid.pyramid import addDir
                        addDir(ADD_NAME + ' ' + name, link, 1130, image,
                               fanart, '', '', '', '')
                    else:
                        from pyramid.pyramid import addLink
                        addLink(link, ADD_NAME + ' ' + name, image, '', '', '',
                                '', '', None, '', 1)
            match = re.compile(
                '<channel>.+?<name>(.+?)</name>.+?<thumbnail>(.+?)</thumbnail>.+?<externallink>(.+?)</externallink>.+?<fanart>(.+?)</fanart>.+?</channel>',
                re.DOTALL).findall(HTML)
            for name, image, url, fanart in match:
                if not 'http:' in url:
                    pass
                else:
                    Raider_Loop(Search_name, url)
            match2 = re.compile(
                '<title>(.+?)</title>.+?<link>(.+?)</link>.+?<thumbnail>(.+?)</thumbnail>.+?<fanart>(.+?)</fanart>',
                re.DOTALL).findall(HTML)
            for name, url, image, fanart in match2:
                if 'http:' in url:
                    if (Search_name).lower().replace(' ',
                                                     '') in (name).replace(
                                                         ' ', '').lower():
                        from pyramid.pyramid import addLink
                        addLink(url, ADD_NAME + ' ' + name, image, fanart, '',
                                '', '', '', None, '', 1)
Beispiel #17
0
def Live_TV(Search_name):
    if Search_name.lower() == 'w':
        Search_name = 'Watch'
    dp.create('Checking for streams - ' + Search_name)
    Oblivion_list = [
        '9SPSsLS2', 'fdpfhagD', 'jt4xbSEN', 'vmxWvdb9', '7fFXG8hf'
    ]
    Raider_live_list = [
        'http://tombraiderbuilds.co.uk/addon/btsportslive/btsportslive.txt',
        'http://tombraiderbuilds.co.uk/addon/skysportslive/skysportslive.txt'
        'http://tombraiderbuilds.co.uk/addon/sportschannels/',
        'http://tombraiderbuilds.co.uk/addon/ukentertainment/freeworldiptv.txt',
        'http://tombraiderbuilds.co.uk/addon/ukentertainment/freeworldiptv.txt',
        'http://tombraiderbuilds.co.uk/addon/ukentertainment/usfreeview.txt'
    ]
    Lily_List = [
        'http://kodeeresurrection.com/LILYSPORTStxts/livetv.txt',
        'http://kodeeresurrection.com/LILYSPORTStxts/musictv.txt.txt',
        'http://kodeeresurrection.com/LILYSPORTStxts/sport.txt'
    ]
    BAMF_List = [
        'http://genietvcunts.co.uk/bamffff/bamff4m.xml',
        'http://genietvcunts.co.uk/bamffff/livesports.xml'
    ]
    Supremecy_List = [
        'https://simplekore.com/wp-content/uploads/file-manager/steboy11/LiveTV/live.txt',
        'https://simplekore.com/wp-content/uploads/file-manager/steboy11/Kids%20Tv/Kids%20Tv.txt',
        'https://simplekore.com/wp-content/uploads/file-manager/steboy11/Sky%20Movies/Sky%20Movies.txt',
        'https://simplekore.com/wp-content/uploads/file-manager/steboy11/Sport/sport.txt'
    ]
    Ultra_List = [
        'http://ultratv.net16.net/iptvserver/ukiptv1.xml',
        'http://ultratv.net16.net/iptvserver/usaiptv1.xml',
        'http://ultratv.net16.net/iptvserver/canadaiptv1.xml',
        'http://ultratv.net16.net/iptvserver/indiaiptv1.xml'
    ]
    HTML = open(freeview_py).read()
    block = re.compile('def CATEGORIES(.+?)#4Music', re.DOTALL).findall(HTML)
    match = re.compile("addLink\('(.+?)','(.+?)',(.+?),(.+?)\)").findall(
        str(block))
    if ADDON.getSetting('Freeview_Search') == 'true':
        dp.update(0, '', "Checking Freeview", 'Please Wait')
        for name, url, mode, img in match:
            if (Search_name).replace(' ', '') in (name).replace(' ',
                                                                '').lower():
                from freeview.freeview import addLink
                addLink('[COLORred]Freeview [/COLOR]' + name, url, mode, img)
    if ADDON.getSetting('Oblivion_Search') == 'true':
        dp.update(15, '', "Checking Oblivion", 'Please Wait')
        for item in Oblivion_list:
            import base64
            OblivionMain = base64.decodestring(
                'aHR0cDovL3Bhc3RlYmluLmNvbS9yYXcv')
            Thread(target=Raider_Live_Loop(
                Search_name, OblivionMain.replace('Free.xml', item)))
    if ADDON.getSetting('Pyramid_Search') == 'true':
        dp.update(30, '', "Checking Pyramid", 'Please Wait')
        for item in Raider_live_list:
            Thread(target=Raider_Live_Loop(Search_name, item))
    if ADDON.getSetting("Tigen's_World_Search") == 'true':
        dp.update(50, '', "Checking Deliverance", 'Please Wait')
        for item in Lily_List:
            Thread(target=Raider_Live_Loop(Search_name, item))
    if ADDON.getSetting('Supremacy_Search') == 'true':
        for item in Supremecy_List:
            dp.update(60, '', "Checking Supremacy", 'Please Wait')
            Thread(target=Raider_Live_Loop(Search_name, item))
    if ADDON.getSetting('BAMF_Search') == 'true':
        for item in BAMF_List:
            dp.update(70, '', "Checking BAMF", 'Please Wait')
            Thread(target=Raider_Live_Loop(Search_name, item))
    if ADDON.getSetting('Ultra_Search') == 'true':
        for item in Ultra_List:
            dp.update(80, '', "Checking Ultra", 'Please Wait')
            Thread(target=Raider_Live_Loop(Search_name, item))
    if ADDON.getSetting('Vendetta_Search') == 'true':
        dp.update(90, '', "Checking Ultra", 'Please Wait')
        import Live
        Thread(target=Live.search_next(Search_name))
    dp.update(100, '', "Finished checking", 'Please Wait')
    dp.close()
Beispiel #18
0
def Raider_Live_Loop(Search_name, url):
    if 'raider' in url:
        ADD_NAME = '[COLORblue]Pyramid[/COLOR]'
    elif 'simplekore' in url:
        ADD_NAME = '[COLORred]Supremacy[/COLOR]'
    elif 'oblivion' in url:
        ADD_NAME = '[COLORlightblue]Oblivion[/COLOR]'
    elif 'kodeeresurrection' in url:
        ADD_NAME = '[COLORlightblue]Deliverance[/COLOR]'
    elif 'cunts' in url:
        ADD_NAME = '[COLORwhite]BAMF[/COLOR]'
    elif 'ilent' in url:
        ADD_NAME = '[COLORsteelblue]Silent Hunter[/COLOR]'
    else:
        ADD_NAME = '[COLORwhite]Ultra[/COLOR]'
    HTML = process.OPEN_URL(url)
    match2 = re.compile(
        '<title>(.+?)</title>.+?<link>(.+?)</link>.+?<thumbnail>(.+?)</thumbnail>.+?<fanart>(.+?)</fanart>',
        re.DOTALL).findall(HTML)
    for name, link, image, fanart in match2:
        if (Search_name).lower().replace('sports', 'sport').replace(
                'sport', 'sports').replace(' ', '') in (name).lower().replace(
                    ' ', '').replace('sports',
                                     'sport').replace('sport', 'sports'):
            if 'sublink' in link:
                if 'http' in link:
                    from pyramid.pyramid import addDir
                    addDir(ADD_NAME + ' ' + name, link, 1130, image, fanart,
                           '', '', '', '')
            else:
                if 'http' in link:
                    from pyramid.pyramid import addLink
                    addLink(link, ADD_NAME + ' ' + name, image, '', '', '', '',
                            '', None, '', 1)
    loop = re.compile(
        '<name>.+?</name>.+?<thumbnail>.+?</thumbnail>.+?<externallink>(.+?)</externallink>.+?<fanart>.+?</fanart>',
        re.DOTALL).findall(HTML)
    for url in loop:
        if 'http' in url:
            Raider_Live_Loop(Search_name, url)
    match = re.compile(
        '<title>(.+?)</title>.+?<sportsdevil>(.+?)</sportsdevil>.+?<thumbnail>(.+?)</thumbnail>',
        re.DOTALL).findall(HTML)
    for name, url, img in match:
        if (Search_name).replace(' ', '') in (name).replace(' ', '').lower():
            from pyramid.pyramid import addLink
            url = 'plugin://plugin.video.SportsDevil/?mode=1&amp;item=catcher%3dstreams%26url=' + url
            addLink(url, ADD_NAME + ' ' + name, img, '', '', '', '', '', None,
                    '', 1)
    match2 = re.compile(r'#EXTINF:(.+?),(.*?)[\n\r]+([^\n]+)').findall(HTML)
    for ignore, name, url in match2:
        total = len(match2)
        if (Search_name).lower().replace(' ', '').replace(
                'sports',
                'sport').replace('sport', 'sports') in (name).lower().replace(
                    ' ', '').replace('sports',
                                     'sport').replace('sport', 'sports'):
            if 'http' in url:
                from pyramid.pyramid import addLink
                addLink(url, ADD_NAME + ' ' + name, '', '', '', '', '', '',
                        None, '', total)
            else:
                if '{PQ},' in url:
                    from pyramid.pyramid import Decrypt_Link
                    Decrypt_Link(ignore, ADD_NAME + ' ' + name, url, total)