aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-06-04 22:27:29 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-06-04 22:27:29 +0800
commit423d2be5f8c5e70d202ddfa63f3e5365e6afe823 (patch)
tree73564c9459fb33795478fff279f3b7e2e54fd042 /youtube_dl
parent453a1617aac6e8000ed947cad7d88817c5740ede (diff)
[downloader/dash] Rename the protocol
'http_dash_segments' looks more like a protocol name than 'dash_segments'
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/downloader/__init__.py2
-rw-r--r--youtube_dl/extractor/youtube.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/downloader/__init__.py b/youtube_dl/downloader/__init__.py
index 1b618ab54..dccc59212 100644
--- a/youtube_dl/downloader/__init__.py
+++ b/youtube_dl/downloader/__init__.py
@@ -21,7 +21,7 @@ PROTOCOL_MAP = {
'mms': RtspFD,
'rtsp': RtspFD,
'f4m': F4mFD,
- 'dash_segments': DashSegmentsFD,
+ 'http_dash_segments': DashSegmentsFD,
}
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 692d4d8db..6d288e848 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -820,7 +820,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
f.update({
'initialization_url': segment_list.find('{urn:mpeg:DASH:schema:MPD:2011}Initialization').attrib['sourceURL'],
'segment_urls': [segment.attrib.get('media') for segment in segment_list.findall('{urn:mpeg:DASH:schema:MPD:2011}SegmentURL')],
- 'protocol': 'dash_segments',
+ 'protocol': 'http_dash_segments',
})
try:
existing_format = next(