A feature-rich command-line audio/video downloader
[downloader/dash] Rename the protocol
Yen Chi Hsuan423d2be5f8c5
diff --git a/youtube_dl/downloader/__init__.py b/youtube_dl/downloader/__init__.pyindex 1b618ab54a..dccc59212d 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.pyindex 692d4d8db2..6d288e8487 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(