[extractor/common] Add manifest_url for explicit group rendition formats

This commit is contained in:
Sergey M․ 2017-04-28 03:00:14 +07:00
parent 6f4a888416
commit c89b49f743
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -1386,6 +1386,7 @@ def extract_media(x_media_line):
f = { f = {
'format_id': '-'.join(format_id), 'format_id': '-'.join(format_id),
'url': format_url(media_url), 'url': format_url(media_url),
'manifest_url': m3u8_url,
'language': media.get('LANGUAGE'), 'language': media.get('LANGUAGE'),
'ext': ext, 'ext': ext,
'protocol': entry_protocol, 'protocol': entry_protocol,