From: Sergey M․ Date: Sun, 29 Oct 2017 00:05:55 +0000 (+0700) Subject: [extractor/common] Prefix format id for audio only HLS formats X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=9211e3319e6006373d8b5055f7a3d0bbd734c57b;p=youtube-dl [extractor/common] Prefix format id for audio only HLS formats --- diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index a69240693..52f2055b5 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -1401,7 +1401,7 @@ class InfoExtractor(object): media_url = media.get('URI') if media_url: format_id = [] - for v in (group_id, name): + for v in (m3u8_id, group_id, name): if v: format_id.append(v) f = {