A feature-rich command-line audio/video downloader
[extractor/common] Fix audio only with audio group in m3u8 (closes #11995)
Sergey M․242a14a1f6ea
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.pyindex 5191886227..0b4e2ac207 100644--- a/youtube_dl/extractor/common.py+++ b/youtube_dl/extractor/common.py@@ -1315,8 +1315,8 @@ class InfoExtractor(object):'abr': abr,})f.update(parse_codecs(last_info.get('CODECS')))- if audio_in_video_stream.get(last_info.get('AUDIO')) is False:- # TODO: update acodec for for audio only formats with the same GROUP-ID+ if audio_in_video_stream.get(last_info.get('AUDIO')) is False and f['vcodec'] != 'none':+ # TODO: update acodec for audio only formats with the same GROUP-IDf['acodec'] = 'none'formats.append(f)last_info = {}