mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-20 20:14:24 +00:00
[atresplayer] Extract HD manifest
This commit is contained in:
parent
1088d76da6
commit
048086920b
@ -161,7 +161,8 @@ class AtresPlayerIE(InfoExtractor):
|
|||||||
# this videos are protected by DRM, the f4m downloader doesn't support them
|
# this videos are protected by DRM, the f4m downloader doesn't support them
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
f4m_url = video_url[:-9] + '/manifest.f4m'
|
video_url_hd = video_url.replace('free_es', 'es')
|
||||||
|
f4m_url = video_url_hd[:-9] + '/manifest.f4m'
|
||||||
formats.extend(self._extract_f4m_formats(f4m_url, video_id, f4m_id='hds', fatal=False))
|
formats.extend(self._extract_f4m_formats(f4m_url, video_id, f4m_id='hds', fatal=False))
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user