mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 19:33:59 +01:00
[arte.tv:+7] Make quality optional (Closes #4583)
This commit is contained in:
parent
23cfa4ae45
commit
1b7b1d6eac
|
@ -133,7 +133,7 @@ def _extract_from_json_url(self, json_url, video_id, lang):
|
||||||
'width': int_or_none(f.get('width')),
|
'width': int_or_none(f.get('width')),
|
||||||
'height': int_or_none(f.get('height')),
|
'height': int_or_none(f.get('height')),
|
||||||
'tbr': int_or_none(f.get('bitrate')),
|
'tbr': int_or_none(f.get('bitrate')),
|
||||||
'quality': qfunc(f['quality']),
|
'quality': qfunc(f.get('quality')),
|
||||||
'source_preference': source_pref,
|
'source_preference': source_pref,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user