[extractor/common] Prefix format id for audio only HLS formats
authorSergey M․ <dstftw@gmail.com>
Sun, 29 Oct 2017 00:05:55 +0000 (07:05 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 29 Oct 2017 00:05:55 +0000 (07:05 +0700)
youtube_dl/extractor/common.py

index a692406931d4b63711609c7b8355635235849275..52f2055b56913c7ff3139a0cdaf301c09d023ee6 100644 (file)
@@ -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 = {