diff --git a/youtube_dl/extractor/francetv.py b/youtube_dl/extractor/francetv.py index 5e19793d6..81b468c7d 100644 --- a/youtube_dl/extractor/francetv.py +++ b/youtube_dl/extractor/francetv.py @@ -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']+href="(?:https?:)?//videos\.francetv\.fr/video/([^@]+@[^"]+)"'), webpage, 'video id')