1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-10-31 22:44:32 +01:00

[common] Fix m3u8 extraction in f4m manifests

This commit is contained in:
Yen Chi Hsuan 2016-05-27 01:41:27 +08:00
parent 6f8cb24219
commit fac2af3c51
No known key found for this signature in database
GPG Key ID: 3FDDD575826C5C30

View File

@ -1063,7 +1063,7 @@ class InfoExtractor(object):
elif ext == 'm3u8': elif ext == 'm3u8':
formats.extend(self._extract_m3u8_formats( formats.extend(self._extract_m3u8_formats(
manifest_url, video_id, 'mp4', preference=preference, manifest_url, video_id, 'mp4', preference=preference,
m3u8_id=m3u8_id, fatal=False)) m3u8_id=m3u8_id, fatal=fatal))
continue continue
tbr = int_or_none(media_el.attrib.get('bitrate')) tbr = int_or_none(media_el.attrib.get('bitrate'))
formats.append({ formats.append({