projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aec95f
)
[gfycat] Fixed preferences.
author
FireDart
<firedartonline@gmail.com>
Thu, 16 Apr 2015 22:11:30 +0000
(18:11 -0400)
committer
FireDart
<firedartonline@gmail.com>
Thu, 16 Apr 2015 22:11:30 +0000
(18:11 -0400)
youtube_dl/extractor/gfycat.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/gfycat.py
b/youtube_dl/extractor/gfycat.py
index 6de78c49d18a8bac1b9071360e503cf2e8eb30c8..5e70ed3f666b5a9cff86338d394ba499355d1335 100644
(file)
--- a/
youtube_dl/extractor/gfycat.py
+++ b/
youtube_dl/extractor/gfycat.py
@@
-63,7
+63,7
@@
class GfycatIE(InfoExtractor):
'height': json['height'],
'fps': json['frameRate'],
'filesize': json['mp4Size'],
- 'preference':
'-1'
+ 'preference':
2
}, {
'format_id': 'webm',
'ext': 'webm',
@@
-72,7
+72,7
@@
class GfycatIE(InfoExtractor):
'height': json['height'],
'fps': json['frameRate'],
'filesize': json['webmSize'],
- 'preference':
0
+ 'preference':
1
}, {
'format_id': 'gif',
'ext': 'gif',
@@
-81,7
+81,7
@@
class GfycatIE(InfoExtractor):
'height': json['height'],
'fps': json['frameRate'],
'filesize': json['gifSize'],
- 'preference':
1
+ 'preference':
0
}]
self._sort_formats(formats)