mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-22 12:53:21 +08:00
Make regex search more strict by only matching whitespace.
This commit is contained in:
parent
9fea67be31
commit
eaf1ef17dd
@ -372,7 +372,7 @@ class FranceTVInfoIE(FranceTVBaseInfoExtractor):
|
||||
for dailymotion_url in dailymotion_urls])
|
||||
|
||||
video_id = self._search_regex(
|
||||
(r'player\.load[^;]+src:[^"\']*["\']([^"\']+)',
|
||||
(r'player\.load[^;]+src:\s*["\']([^"\']+)',
|
||||
r'id-video=([^@]+@[^"]+)',
|
||||
r'<a[^>]+href="(?:https?:)?//videos\.francetv\.fr/video/([^@]+@[^"]+)"'),
|
||||
webpage, 'video id')
|
||||
|
Loading…
Reference in New Issue
Block a user