1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-24 13:12:51 +00:00

[wimp] Improve video URL regex

This commit is contained in:
Sergey M․ 2015-12-07 22:18:00 +06:00
parent 0d2d967cc7
commit 1775612512

View file

@ -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 {