1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 02:01:50 +00:00

[downloader/dash] Rename the protocol

'http_dash_segments' looks more like a protocol name than
'dash_segments'
This commit is contained in:
Yen Chi Hsuan 2015-06-04 22:27:29 +08:00
parent 453a1617aa
commit 423d2be5f8
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ PROTOCOL_MAP = {
'mms': RtspFD,
'rtsp': RtspFD,
'f4m': F4mFD,
'dash_segments': DashSegmentsFD,
'http_dash_segments': DashSegmentsFD,
}

View file

@ -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(