mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 02:25:11 +00:00
[funnyordie] Fix extraction (Closes #4011)
This commit is contained in:
parent
281d3f1d68
commit
75da98e9e1
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ def _real_extract(self, url):
|
|||
video_id = mobj.group('id')
|
||||
webpage = self._download_webpage(url, video_id)
|
||||
|
||||
links = re.findall(r'<source src="([^"]+/v)\d+\.([^"]+)" type=\'video', webpage)
|
||||
links = re.findall(r'<source src="([^"]+/v)[^"]+\.([^"]+)" type=\'video', webpage)
|
||||
if not links:
|
||||
raise ExtractorError('No media links available for %s' % video_id)
|
||||
|
||||
|
|
Loading…
Reference in a new issue