mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-10 12:42:53 +08:00
[tegnamedia] Support HDS format
This commit is contained in:
parent
b602c16f61
commit
fba4a4fc68
@ -51,12 +51,9 @@ class TegnaMediaIE(InfoExtractor):
|
|||||||
path, video_id, ext='mp4', entry_protocol='m3u8_native')
|
path, video_id, ext='mp4', entry_protocol='m3u8_native')
|
||||||
formats += forms
|
formats += forms
|
||||||
elif elem.get('Format') == 'HDS':
|
elif elem.get('Format') == 'HDS':
|
||||||
# I am not sure how to extract this format, I have tried the
|
path += '/manifest.f4m?hdcode'
|
||||||
# following, but this format seems to be only mentioned
|
forms = self._extract_akamai_formats(path, video_id)
|
||||||
# in the json, but not really available:
|
formats += forms
|
||||||
# forms = self._extract_akamai_formats(path, video_id)
|
|
||||||
# formats += forms
|
|
||||||
pass
|
|
||||||
|
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user