aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2019-02-28 23:26:52 +0700
committerSergey M․ <dstftw@gmail.com>2019-02-28 23:26:52 +0700
commit9d9a8676dc02101069cf5fa9862500d39352538c (patch)
tree3c55aac76a8b7930cd8eb0269696c0611f2e242e /youtube_dl
parentdb1c3a9d3f202cc6f3fd83a2a918869e7c0d147f (diff)
[francetv:site] Extend video id regex (closes #20029, closes #20071)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/francetv.py2
1 files changed, 1 insertions, 1 deletions
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<id>(?:(?!\1).)+)\1',
+ r'(?:data-main-video\s*=|videoId\s*:)\s*(["\'])(?P<id>(?:(?!\1).)+)\1',
webpage, 'video id', default=None, group='id')
if not video_id: