From 05b476a27087a45b8d418607123d8db62bf1770f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Thu, 24 Sep 2015 23:38:53 +0600 Subject: [PATCH] [vidme] Prefer non clip (Closes #6924) --- youtube_dl/extractor/vidme.py | 1 + 1 file changed, 1 insertion(+) 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)