Fix goodstream

This commit is contained in:
marco
2023-03-20 20:29:32 +01:00
parent 082fec00aa
commit fd9c09a32b

View File

@@ -17,7 +17,6 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
global data
logger.debug("(page_url='%s')" % page_url)
video_urls = []
matches = scrapertools.find_multiple_matches(data, '<source src="([^"]+)" type="video/(\w+)')
for media_url, ext in matches:
video_urls.append([ext, media_url])
match = scrapertools.find_single_match(data, 'file:\s+"([^"]+)')
video_urls.append(['.mp4', match])
return video_urls