fix streamtape

This commit is contained in:
marco
2020-12-27 00:07:43 +01:00
parent 3e599cfd62
commit da94fe501e
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
video_urls = []
possible_url = scrapertools.find_single_match(data, 'innerHTML = "([^"]+)')
if not '\\' in possible_url:
if not possible_url:
possible_url = scrapertools.find_single_match(data, "innerHTML\\'\]=\\'([^']+)")
url = "https:" + possible_url
url = httptools.downloadpage(url, follow_redirects=False, only_headers=True).headers.get("location", "")