projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f75e689
)
[dcn] Enable dash formats
author
Sergey M․
<dstftw@gmail.com>
Sun, 24 Jul 2016 03:35:55 +0000
(10:35 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 24 Jul 2016 03:35:55 +0000
(10:35 +0700)
youtube_dl/extractor/dcn.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dcn.py
b/youtube_dl/extractor/dcn.py
index efb8585e825c9f5cd746e4601380aa90d09246f7..b8542820a36534fe548aac43ea7f64375396e3ba 100644
(file)
--- 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')
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))
formats.extend(self._extract_m3u8_formats(
format_url_base + '/playlist.m3u8', video_id, 'mp4',
m3u8_entry_protocol, m3u8_id='hls', fatal=False))