1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-05 02:32:44 +01:00

[extractor/common] Prefix format id for audio only HLS formats

This commit is contained in:
Sergey M․ 2017-10-29 07:05:55 +07:00
parent 056653bbb1
commit 9211e3319e
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -1401,7 +1401,7 @@ def extract_media(x_media_line):
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 = {