]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[vine] Zero rate videos is perfectly valid (#5389)
authorSergey M․ <dstftw@gmail.com>
Thu, 9 Apr 2015 16:32:22 +0000 (22:32 +0600)
committerSergey M․ <dstftw@gmail.com>
Thu, 9 Apr 2015 16:32:22 +0000 (22:32 +0600)
youtube_dl/extractor/vine.py

index c3187cfeb7c7f04dd040ca4cb3e89f0653ccbd03..353791e1dae6641e397c529b9e753624c76f937d 100644 (file)
@@ -37,7 +37,7 @@ class VineIE(InfoExtractor):
             'vcodec': f['format'],
             'quality': f['rate'],
             'url': f['videoUrl'],
-        } for f in data['videoUrls'] if f.get('rate')]
+        } for f in data['videoUrls']]
 
         self._sort_formats(formats)