From: Sergey M․ Date: Thu, 24 Sep 2015 17:38:53 +0000 (+0600) Subject: [vidme] Prefer non clip (Closes #6924) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=05b476a27087a45b8d418607123d8db62bf1770f;p=youtube-dl [vidme] Prefer non clip (Closes #6924) --- 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)