[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 @@ def _real_extract(self, url):
'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)