Browse Source

[francetv] Lower preference of direct links (Closes #4010, closes #3947)

Direct links fail with 403, fallback on f4m for now until further investigations.
Sergey M․ 11 năm trước cách đây
mục cha
commit
2399535fd1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      youtube_dl/extractor/francetv.py

+ 1 - 1
youtube_dl/extractor/francetv.py

@@ -58,7 +58,7 @@ class FranceTVBaseInfoExtractor(InfoExtractor):
                 formats.append({
                     'url': video_url,
                     'format_id': format_id,
-                    'preference': 2,
+                    'preference': -1,
                 })
         self._sort_formats(formats)