From cc9da14d6857f14afcb92fd28429d5ae1a2dba8f Mon Sep 17 00:00:00 2001 From: JChris246 Date: Fri, 22 Feb 2019 16:16:37 -0400 Subject: [PATCH] Fixed InfoExtractor to sort formats --- youtube_dl/extractor/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index c3b0586a0..5e722c7b6 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -2465,7 +2465,7 @@ class InfoExtractor(object): # in the wild f.update({ 'height': int_or_none(source_attributes.get('res')), - 'format_id': source_attributes.get('label'), + 'format_id': source_attributes.get('label') or source_attributes.get('title'), }) f.update(formats[0]) media_info['formats'].append(f)