projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[bbc] Add support for authentication
[youtube-dl]
/
youtube_dl
/
extractor
/
atresplayer.py
diff --git
a/youtube_dl/extractor/atresplayer.py
b/youtube_dl/extractor/atresplayer.py
index ffac9df0e2f7d65692b9addec21cffd208daa3e0..01fa308ff1f150214fe4d996eb0bbc922387b320 100644
(file)
--- a/
youtube_dl/extractor/atresplayer.py
+++ b/
youtube_dl/extractor/atresplayer.py
@@
-36,7
+36,7
@@
class AtresPlayerIE(InfoExtractor):
},
{
'url': 'http://www.atresplayer.com/television/especial/videoencuentros/temporada-1/capitulo-112-david-bustamante_2014121600375.html',
},
{
'url': 'http://www.atresplayer.com/television/especial/videoencuentros/temporada-1/capitulo-112-david-bustamante_2014121600375.html',
- 'md5': '
0d0e918533bbd4b263f2de4d197d4aac
',
+ 'md5': '
6e52cbb513c405e403dbacb7aacf8747
',
'info_dict': {
'id': 'capitulo-112-david-bustamante',
'ext': 'flv',
'info_dict': {
'id': 'capitulo-112-david-bustamante',
'ext': 'flv',
@@
-156,8
+156,8
@@
class AtresPlayerIE(InfoExtractor):
if format_id == 'token' or not video_url.startswith('http'):
continue
if 'geodeswowsmpra3player' in video_url:
if format_id == 'token' or not video_url.startswith('http'):
continue
if 'geodeswowsmpra3player' in video_url:
- f4m_path = video_url.split('smil:', 1)[-1].split('free_', 1)[0]
- f4m_url = 'http://drg.antena3.com/{0}hds/es/sd.f4m'.format(f4m_path)
+
#
f4m_path = video_url.split('smil:', 1)[-1].split('free_', 1)[0]
+
#
f4m_url = 'http://drg.antena3.com/{0}hds/es/sd.f4m'.format(f4m_path)
# this videos are protected by DRM, the f4m downloader doesn't support them
continue
video_url_hd = video_url.replace('free_es', 'es')
# this videos are protected by DRM, the f4m downloader doesn't support them
continue
video_url_hd = video_url.replace('free_es', 'es')
@@
-167,8
+167,6
@@
class AtresPlayerIE(InfoExtractor):
formats.extend(self._extract_mpd_formats(
video_url_hd[:-9] + '/manifest.mpd', video_id, mpd_id='dash',
fatal=False))
formats.extend(self._extract_mpd_formats(
video_url_hd[:-9] + '/manifest.mpd', video_id, mpd_id='dash',
fatal=False))
- formats.extend(self._extract_ism_formats(
- video_url_hd, video_id, ism_id='mss', fatal=False))
self._sort_formats(formats)
path_data = player.get('pathData')
self._sort_formats(formats)
path_data = player.get('pathData')