1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-03 14:12:53 +08:00

[tegnamedia] Support HDS format

This commit is contained in:
Alex Seiler 2017-02-18 13:12:22 +01:00
parent b602c16f61
commit fba4a4fc68

View File

@ -51,12 +51,9 @@ class TegnaMediaIE(InfoExtractor):
path, video_id, ext='mp4', entry_protocol='m3u8_native')
formats += forms
elif elem.get('Format') == 'HDS':
# I am not sure how to extract this format, I have tried the
# following, but this format seems to be only mentioned
# in the json, but not really available:
# forms = self._extract_akamai_formats(path, video_id)
# formats += forms
pass
path += '/manifest.f4m?hdcode'
forms = self._extract_akamai_formats(path, video_id)
formats += forms
self._sort_formats(formats)
return {