Fix goodstream
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user