aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-09-24 23:38:53 +0600
committerSergey M․ <dstftw@gmail.com>2015-09-24 23:38:53 +0600
commit05b476a27087a45b8d418607123d8db62bf1770f (patch)
tree1d80b1701f9601cf07fdf061acd876bd5d0524a0 /youtube_dl
parent4395ca2e04f38c110259270fa4dfc4d9814aa926 (diff)
[vidme] Prefer non clip (Closes #6924)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/vidme.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/vidme.py b/youtube_dl/extractor/vidme.py
index 9a794e609..078d283b2 100644
--- a/youtube_dl/extractor/vidme.py
+++ b/youtube_dl/extractor/vidme.py
@@ -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)