[vidme] Prefer non clip (Closes #6924)

This commit is contained in:
Sergey M․ 2015-09-24 23:38:53 +06:00 committed by dabiboo
parent 19765b643d
commit b783a0a072

View File

@ -119,6 +119,7 @@ class VidmeIE(InfoExtractor):
'url': f['uri'],
'width': int_or_none(f.get('width')),
'height': int_or_none(f.get('height')),
'preference': 0 if f.get('type', '').endswith('clip') else 1,
} for f in video.get('formats', []) if f.get('uri')]
self._sort_formats(formats)