1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-24 13:05:34 +08:00

[atresplayer] update to hd videos manifest

This commit is contained in:
zurfyx 2017-03-25 01:08:47 +01:00
parent 18d9bb91ad
commit 12ed21f77a
No known key found for this signature in database
GPG Key ID: B7457DFB0A3A9BEE

View File

@ -160,7 +160,8 @@ class AtresPlayerIE(InfoExtractor):
# this videos are protected by DRM, the f4m downloader doesn't support them
continue
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))
self._sort_formats(formats)