test no findhost()

This commit is contained in:
marco
2019-12-06 23:44:03 +01:00
parent bf9471809e
commit 68229bef38
7 changed files with 53 additions and 46 deletions
+7 -6
View File
@@ -7,15 +7,16 @@
from core import scrapertoolsV2, httptools, support
from core.item import Item
host = ''
host = 'https://www.seriehd.moda'
headers = ''
def findhost():
global host, headers
data= httptools.downloadpage('https://seriehd.nuovo.link/').data
global host, headers
host = scrapertoolsV2.find_single_match(data, r'<div class="elementor-button-wrapper"> <a href="([^"]+)"')
headers = [['Referer', host]]
pass
# global host, headers
# data= httptools.downloadpage('https://seriehd.nuovo.link/').data
# global host, headers
# host = scrapertoolsV2.find_single_match(data, r'<div class="elementor-button-wrapper"> <a href="([^"]+)"')
# headers = [['Referer', host]]
list_servers = ['verystream', 'openload', 'streamango', 'thevideome']
list_quality = ['1080p', '720p', '480p', '360']