Log per streamtape

This commit is contained in:
marco
2023-02-07 19:31:03 +01:00
parent 5bf69c93b9
commit a846c17e79

View File

@@ -31,6 +31,7 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
logger.debug("url=" + page_url)
video_urls = []
find_url = match(data, patron=r'innerHTML = ([^;]+)').matches[-1]
logger.debug(find_url)
possible_url = js2py.eval_js(find_url)
url = "https:" + possible_url
url = httptools.downloadpage(url, follow_redirects=False, only_headers=True).headers.get("location", "")