瀏覽代碼

[culturebox] Fix extraction (closes #14827)

enigmaquip 7 年之前
父節點
當前提交
2688664762
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/francetv.py

+ 1 - 1
youtube_dl/extractor/francetv.py

@@ -363,6 +363,6 @@ class CultureboxIE(FranceTVBaseInfoExtractor):
             raise ExtractorError('Video %s is not available' % name, expected=True)
             raise ExtractorError('Video %s is not available' % name, expected=True)
 
 
         video_id, catalogue = self._search_regex(
         video_id, catalogue = self._search_regex(
-            r'"http://videos\.francetv\.fr/video/([^@]+@[^"]+)"', webpage, 'video id').split('@')
+            r'"https?://videos\.francetv\.fr/video/([^@]+@[^"]+)"', webpage, 'video id').split('@')
 
 
         return self._extract_video(video_id, catalogue)
         return self._extract_video(video_id, catalogue)