mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 11:07:56 +01:00
[funnyordie] fix video url extraction
This commit is contained in:
parent
07ac9e2cc2
commit
c247d87ef3
@ -21,7 +21,7 @@ def _real_extract(self, url):
|
|||||||
video_id = mobj.group('id')
|
video_id = mobj.group('id')
|
||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
|
|
||||||
video_url = self._search_regex(r'type: "video/mp4", src: "(.*?)"',
|
video_url = self._search_regex(r'type="video/mp4" src="(.*?)"',
|
||||||
webpage, u'video URL', flags=re.DOTALL)
|
webpage, u'video URL', flags=re.DOTALL)
|
||||||
|
|
||||||
info = {
|
info = {
|
||||||
|
Loading…
Reference in New Issue
Block a user