A feature-rich command-line audio/video downloader
[FormatSort] fix bug where `quality` had more priority than `hasvid`
pukkandanc10d0213fc38
diff --git a/youtube_dlc/extractor/common.py b/youtube_dlc/extractor/common.pyindex 49d99bb557..b9c11c450f 100644--- a/youtube_dlc/extractor/common.py+++ b/youtube_dlc/extractor/common.py@@ -1366,9 +1366,9 @@ class InfoExtractor(object):class FormatSort:regex = r' *((?P<reverse>\+)?(?P<field>[a-zA-Z0-9_]+)((?P<seperator>[~:])(?P<limit>.*?))?)? *$'- default = ('hidden', 'has_video', 'extractor', 'lang', 'quality',+ default = ('hidden', 'hasvid', 'ie_pref', 'lang', 'quality','res', 'fps', 'codec:vp9', 'size', 'br', 'asr',- 'proto', 'ext', 'has_audio', 'source', 'format_id')+ 'proto', 'ext', 'has_audio', 'source', 'format_id') # These must not be aliasessettings = {'vcodec': {'type': 'ordered', 'regex': True,