Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -40,6 +40,7 @@
|
|||||||
"serietvsubita": "http://serietvsubita.xyz",
|
"serietvsubita": "http://serietvsubita.xyz",
|
||||||
"serietvu": "https://www.serietvu.link",
|
"serietvu": "https://www.serietvu.link",
|
||||||
"streamtime": "https://t.me/s/StreamTime",
|
"streamtime": "https://t.me/s/StreamTime",
|
||||||
|
"streamingaltadefinizione":"https://www.popcornstream.website/",
|
||||||
"tantifilm": "https://www.tantifilm.vip",
|
"tantifilm": "https://www.tantifilm.vip",
|
||||||
"toonitalia": "https://toonitalia.org",
|
"toonitalia": "https://toonitalia.org",
|
||||||
"vedohd": "https://vedohd.uno",
|
"vedohd": "https://vedohd.uno",
|
||||||
|
|||||||
+12
-8
@@ -11,16 +11,20 @@ from lib import unshortenit
|
|||||||
from platformcode import logger, config
|
from platformcode import logger, config
|
||||||
|
|
||||||
|
|
||||||
# def findhost():
|
def findhost():
|
||||||
# permUrl = httptools.downloadpage('https://cb01-nuovo-indirizzo.info/', follow_redirects=False, only_headers=True).headers
|
page = httptools.downloadpage('https://cb01-nuovo-indirizzo.info/', follow_redirects=False)
|
||||||
# if 'google' in permUrl['location']:
|
permUrl = page.headers
|
||||||
# host = permUrl['location'].replace('https://www.google.it/search?q=site:', '')
|
if 'location' in permUrl:
|
||||||
# else:
|
if 'google' in permUrl['location']:
|
||||||
# host = permUrl['location']
|
host = permUrl['location'].replace('https://www.google.it/search?q=site:', '')
|
||||||
# return host
|
else:
|
||||||
|
host = permUrl['location']
|
||||||
|
else:
|
||||||
|
host = support.match(page.data, patron=r'<a href="([^"]+)" title="nuovo indirizzo cb01').match
|
||||||
|
return host
|
||||||
|
|
||||||
|
|
||||||
host = config.get_channel_url()
|
host = config.get_channel_url(findhost)
|
||||||
headers = [['Referer', host]]
|
headers = [['Referer', host]]
|
||||||
|
|
||||||
list_servers = ['mixdrop', 'akstream', 'wstream', 'backin']
|
list_servers = ['mixdrop', 'akstream', 'wstream', 'backin']
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ def findhost():
|
|||||||
host = permUrl['location']
|
host = permUrl['location']
|
||||||
return host
|
return host
|
||||||
|
|
||||||
host = config.get_channel_url(findhost)
|
host = config.get_channel_url()
|
||||||
headers = [['Referer', host]]
|
headers = [['Referer', host]]
|
||||||
|
|
||||||
@support.menu
|
@support.menu
|
||||||
|
|||||||
Reference in New Issue
Block a user