Browse Source

[atresplayer] Extract HD manifest

master
zurfyx 8 years ago
committed by Sergey M․
parent
commit
048086920b
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 1 deletions
  1. 3
      youtube_dl/extractor/atresplayer.py

3
youtube_dl/extractor/atresplayer.py

@ -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…
Cancel
Save