diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-07-24 10:35:55 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-07-24 10:35:55 +0700 |
commit | 5a65668e25ba424693a69cbaa81059e8c38a52ae (patch) | |
tree | 04bcb06b2a0ad3125e49f8d7477fc2f417e1a4c6 | |
parent | f75e6890dbc70f0686e967e89b5c422a3aee8951 (diff) |
[dcn] Enable dash formats
-rw-r--r-- | youtube_dl/extractor/dcn.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/youtube_dl/extractor/dcn.py b/youtube_dl/extractor/dcn.py index efb8585e8..b8542820a 100644 --- a/youtube_dl/extractor/dcn.py +++ b/youtube_dl/extractor/dcn.py @@ -62,11 +62,9 @@ class DCNBaseIE(InfoExtractor): r'file\s*:\s*"https?(://[^"]+)/playlist.m3u8', r'<a[^>]+href="rtsp(://[^"]+)"' ], webpage, 'format url') - # TODO: Current DASH formats are broken - $Time$ pattern in - # <SegmentTemplate> not implemented yet - # formats.extend(self._extract_mpd_formats( - # format_url_base + '/manifest.mpd', - # video_id, mpd_id='dash', fatal=False)) + formats.extend(self._extract_mpd_formats( + format_url_base + '/manifest.mpd', + video_id, mpd_id='dash', fatal=False)) formats.extend(self._extract_m3u8_formats( format_url_base + '/playlist.m3u8', video_id, 'mp4', m3u8_entry_protocol, m3u8_id='hls', fatal=False)) |