[francetv] Lower preference of direct links (Closes #4010, closes #3947)
authorSergey M․ <dstftw@gmail.com>
Thu, 23 Oct 2014 15:30:34 +0000 (22:30 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 23 Oct 2014 15:30:34 +0000 (22:30 +0700)
Direct links fail with 403, fallback on f4m for now until further investigations.

youtube_dl/extractor/francetv.py

index 07165e330ca7e1ef14277ad79bf18387cdc49a2f..566e20d76fbad33c7879b31027da5f956cd33bbb 100644 (file)
@@ -58,7 +58,7 @@ class FranceTVBaseInfoExtractor(InfoExtractor):
                 formats.append({
                     'url': video_url,
                     'format_id': format_id,
-                    'preference': 2,
+                    'preference': -1,
                 })
         self._sort_formats(formats)