Fix altaCommunity e streamtape
This commit is contained in:
@@ -30,7 +30,7 @@ def test_video_exists(page_url):
|
||||
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 = ([^;]+)').match
|
||||
find_url = match(data, patron=r'innerHTML = ([^;]+)').matches[-1]
|
||||
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