From 954352c4c08dab0dd2d9ca20f5a414a307cea96f Mon Sep 17 00:00:00 2001 From: FireDart Date: Thu, 16 Apr 2015 18:11:30 -0400 Subject: [PATCH] [gfycat] Fixed preferences. --- youtube_dl/extractor/gfycat.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/youtube_dl/extractor/gfycat.py b/youtube_dl/extractor/gfycat.py index 6de78c49d..5e70ed3f6 100644 --- 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)