mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-05 02:32:44 +01:00
[arkena] Skip dash formats
This commit is contained in:
parent
6548030a17
commit
f1991ce928
@ -81,12 +81,15 @@ def _real_extract(self, url):
|
|||||||
formats.extend(self._extract_f4m_formats(
|
formats.extend(self._extract_f4m_formats(
|
||||||
f_url, video_id, f4m_id=kind, fatal=False))
|
f_url, video_id, f4m_id=kind, fatal=False))
|
||||||
elif kind == 'dash' or 'mpd' in exts:
|
elif kind == 'dash' or 'mpd' in exts:
|
||||||
formats.extend(self._extract_mpd_formats(
|
# TODO: Current DASH formats are broken - $Time$ pattern in
|
||||||
f_url, video_id, mpd_id=kind, fatal=False))
|
# <SegmentTemplate> not implemented yet
|
||||||
|
# formats.extend(self._extract_mpd_formats(
|
||||||
|
# f_url, video_id, mpd_id=kind, fatal=False))
|
||||||
|
continue
|
||||||
elif kind == 'silverlight':
|
elif kind == 'silverlight':
|
||||||
# TODO: process when ism is supported (see
|
# TODO: process when ism is supported (see
|
||||||
# https://github.com/rg3/youtube-dl/issues/8118)
|
# https://github.com/rg3/youtube-dl/issues/8118)
|
||||||
pass
|
continue
|
||||||
else:
|
else:
|
||||||
tbr = float_or_none(f.get('Bitrate'), 1000)
|
tbr = float_or_none(f.get('Bitrate'), 1000)
|
||||||
formats.append({
|
formats.append({
|
||||||
|
Loading…
Reference in New Issue
Block a user