projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f3b539
)
[francetv] Lower preference of direct links (Closes #4010, closes #3947)
author
Sergey M․
<dstftw@gmail.com>
Thu, 23 Oct 2014 15:30:34 +0000
(22:30 +0700)
committer
Sergey 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
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/francetv.py
b/youtube_dl/extractor/francetv.py
index 07165e330ca7e1ef14277ad79bf18387cdc49a2f..566e20d76fbad33c7879b31027da5f956cd33bbb 100644
(file)
--- a/
youtube_dl/extractor/francetv.py
+++ b/
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)