mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-26 20:22:14 +00:00
[vidme] Prefer non clip (Closes #6924)
This commit is contained in:
parent
4395ca2e04
commit
05b476a270
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ class VidmeIE(InfoExtractor):
|
||||||
'url': f['uri'],
|
'url': f['uri'],
|
||||||
'width': int_or_none(f.get('width')),
|
'width': int_or_none(f.get('width')),
|
||||||
'height': int_or_none(f.get('height')),
|
'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')]
|
} for f in video.get('formats', []) if f.get('uri')]
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue