Browse Source

[francetv:site] Extend video id regex (closes #20029, closes #20071)

Sergey M․ 6 years ago
parent
commit
9d9a8676dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/francetv.py

+ 1 - 1
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: