Prova streamtape
This commit is contained in:
@@ -31,6 +31,8 @@ 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]
|
||||
find_url.replace('"', "'")
|
||||
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", "")
|
||||
|
||||
Reference in New Issue
Block a user