fix nored.icu e netfreex
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ def test_video_exists(page_url):
|
||||
headers = [['User-Agent', 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0'],
|
||||
['Host', scrapertools.get_domain_from_url(page_url)]]
|
||||
|
||||
if 'nored.icu' in str(headers): real_host = 'wstream.video'
|
||||
# if 'nored.icu' in str(headers): real_host = 'wstream.video'
|
||||
|
||||
logger.log("(page_url='%s')" % page_url)
|
||||
resp = httptools.downloadpage(page_url, headers=headers, verify=False)
|
||||
|
||||
Reference in New Issue
Block a user