From: Sergey M․ Date: Thu, 28 Feb 2019 16:26:52 +0000 (+0700) Subject: [francetv:site] Extend video id regex (closes #20029, closes #20071) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=9d9a8676dc02101069cf5fa9862500d39352538c;p=youtube-dl [francetv:site] Extend video id regex (closes #20029, closes #20071) --- diff --git a/youtube_dl/extractor/francetv.py b/youtube_dl/extractor/francetv.py index 2ffe83a78..3c4ef08a8 100644 --- a/youtube_dl/extractor/francetv.py +++ b/youtube_dl/extractor/francetv.py @@ -271,7 +271,7 @@ class FranceTVSiteIE(FranceTVBaseInfoExtractor): catalogue = None video_id = self._search_regex( - r'data-main-video=(["\'])(?P(?:(?!\1).)+)\1', + r'(?:data-main-video\s*=|videoId\s*:)\s*(["\'])(?P(?:(?!\1).)+)\1', webpage, 'video id', default=None, group='id') if not video_id: