mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[wimp] Improve video URL regex
This commit is contained in:
parent
0d2d967cc7
commit
1775612512
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def _real_extract(self, url):
|
|||
}
|
||||
|
||||
video_url = self._search_regex(
|
||||
r'<video[^>]+>\s*<source src=(["\'])(?P<url>.+?)\1',
|
||||
r'<video[^>]+>\s*<source[^>]+src=(["\'])(?P<url>.+?)\1',
|
||||
webpage, 'video URL', group='url')
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue