Fix streamlare, streamsb, toonitalia e modifiche interne

This commit is contained in:
marco
2022-10-23 20:42:43 +02:00
parent 3da43a418b
commit 8648014368
13 changed files with 55 additions and 54 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
dl_url = 'https://{}/dl?op=download_orig&id={}&mode={}&hash={}'
host = scrapertools.get_domain_from_url(page_url)
sources = scrapertools.find_multiple_matches(data, r'download_video([^"]+)[^\d]+\d+x(\d+)')
sources = scrapertools.find_multiple_matches(data, r'download_video([^"]+)[^\d]+(\d+)p')
hash = scrapertools.find_single_match(data, r"file_id',\s'(\d+)")
if sources: