瀏覽代碼

[gfycat] Fixed preferences.

FireDart 10 年之前
父節點
當前提交
954352c4c0
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      youtube_dl/extractor/gfycat.py

+ 3 - 3
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)