mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-23 00:54:31 +01:00
[wimp] Improve video URL regex
This commit is contained in:
parent
0d2d967cc7
commit
1775612512
@ -42,7 +42,7 @@ class WimpIE(InfoExtractor):
|
|||||||
}
|
}
|
||||||
|
|
||||||
video_url = self._search_regex(
|
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')
|
webpage, 'video URL', group='url')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user