[YoutubeDL] Change how DashSegmentsFD is selected
This commit is contained in:
parent
6800d3372f
commit
b9258c6178
3 changed files with 4 additions and 5 deletions
|
@ -819,7 +819,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||
if segment_list:
|
||||
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')]
|
||||
'segment_urls': [segment.attrib.get('media') for segment in segment_list.findall('{urn:mpeg:DASH:schema:MPD:2011}SegmentURL')],
|
||||
'protocol': 'dash_segments',
|
||||
})
|
||||
try:
|
||||
existing_format = next(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue