Aggiornato findhost dove possibile

This commit is contained in:
Alhaziel
2019-12-27 20:03:51 +01:00
parent 935df3adb4
commit e1c3900039
5 changed files with 33 additions and 42 deletions

View File

@@ -18,15 +18,15 @@ from core.item import Item
from platformcode import config, logger
#impostati dinamicamente da findhost()
host = "https://www.altadefinizione01.cc"
headers = ""
def findhost():
pass
# global host, headers
# data = httptools.downloadpage('https://altadefinizione01-nuovo.link/').data
# host = scrapertoolsV2.find_single_match(data, '<div class="elementor-button-wrapper"> <a href="([^"]+)"')
# headers = [['Referer', host]]
data = httptools.downloadpage('https://altadefinizione01-nuovo.link/').data
host = scrapertoolsV2.find_single_match(data, '<div class="elementor-button-wrapper"> <a href="([^"]+)"')
return host
host = config.get_channel_url(findhost)
headers = [['Referer', host]]
list_servers = ['verystream','openload','rapidvideo','streamango']
list_quality = ['default']

View File

@@ -17,15 +17,13 @@ from core.item import Item
from platformcode import config
#impostati dinamicamente da findhost()
host = "https://eurostreaming.pink"
headers = ""
def findhost():
pass
# global host, headers
# permUrl = httptools.downloadpage('https://eurostreaming.link/', follow_redirects=False).headers
# host = 'https://www.'+permUrl['location'].replace('https://www.google.it/search?q=site:', '')
# headers = [['Referer', host]]
permUrl = httptools.downloadpage('https://eurostreaming.link/', follow_redirects=False).headers
host = 'https://www.'+permUrl['location'].replace('https://www.google.it/search?q=site:', '')
return host
host = support.config.get_channel_url(findhost)
headers = [['Referer', host]]

View File

@@ -8,12 +8,12 @@ from core import scrapertoolsV2, httptools, support
from core.item import Item
host = support.config.get_channel_url()
headers = [['Referer', host]]
# host = 'https://www.seriehd.watch'
headers = ''
# headers = ''
def findhost():
pass
# def findhost():
# global host, headers
# data= httptools.downloadpage('https://seriehd.nuovo.link/').data
# global host, headers

View File

@@ -20,17 +20,14 @@ from core import support, httptools, scrapertoolsV2
from platformcode import config
from core.item import Item
__channel__ = "serietvonline"
host = "https://serietvonline.monster"
headers = ""
def findhost():
pass
# global host, headers
# data = httptools.downloadpage('https://serietvonline.me/').data
# host = scrapertoolsV2.find_single_match(data, r'<a class="pure-button pure-button-primary" title=\'serie tv online\' href="([^"]+)">')
# headers = [['Referer', host]]
data = httptools.downloadpage('https://serietvonline.me/').data
host = scrapertoolsV2.find_single_match(data, r'<a class="pure-button pure-button-primary" title=\'serie tv online\' href="([^"]+)">')
return host
host = config.get_channel_url(findhost)
headers = [['Referer', host]]
list_servers = ['akvideo', 'wstream', 'backin', 'vidtome', 'nowvideo']
list_quality = ['default']

View File

@@ -7,26 +7,22 @@ from core import support, httptools
from core.item import Item
from platformcode import config
# __channel__ = "streamingaltadefinizione"
# host = config.get_channel_url(__channel__)
# host = headers = ''
host = 'https://www.popcornstream.fun'
list_servers = ['verystream', 'openload', 'wstream']
list_quality = ['1080p', 'HD', 'DVDRIP', 'SD', 'CAM']
def findhost():
pass
# global host, headers
# permUrl = httptools.downloadpage('https://www.popcornstream.info', follow_redirects=False).headers
# if 'google' in permUrl['location']:
# if host[:4] != 'http':
# host = 'https://'+permUrl['location'].replace('https://www.google.it/search?q=site:', '')
# else:
# host = permUrl['location'].replace('https://www.google.it/search?q=site:', '')
# else:
# host = permUrl['location']
# headers = [['Referer', host]]
permUrl = httptools.downloadpage('https://www.popcornstream.info', follow_redirects=False).headers
if 'google' in permUrl['location']:
host = permUrl['location'].replace('https://www.google.it/search?q=site:', '')
if host[:4] != 'http':
host = 'https://'+permUrl['location'].replace('https://www.google.it/search?q=site:', '')
else:
host = permUrl['location']
return host
host = config.get_channel_url(findhost)
headers = [['Referer', host]]
@support.menu
def mainlist(item):