1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-14 05:17:25 +00:00

[vine] Zero rate videos is perfectly valid (#5389)

This commit is contained in:
Sergey M․ 2015-04-09 22:32:22 +06:00
parent aa2af7ba74
commit 6ac41a4ef5

View File

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