Fix Wstream

This commit is contained in:
Alhaziel01
2020-09-15 15:43:12 +02:00
parent da94233a7e
commit 25881db4dc
+3
View File
@@ -26,6 +26,9 @@ def test_video_exists(page_url):
global data, real_url
data = resp.data
if not data:
resp = httptools.downloadpage(page_url.replace(headers[1][1], real_host), headers=headers, verify=False)
data = resp.data
page_url = resp.url.replace(headers[1][1], real_host)
if '/streaming.php' in page_url in page_url: