1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-26 00:42:37 +01:00

[arte.tv:+7] Make quality optional (Closes #4583)

This commit is contained in:
Sergey M․ 2014-12-28 15:41:52 +06:00
parent 23cfa4ae45
commit 1b7b1d6eac

View File

@ -133,7 +133,7 @@ class ArteTVPlus7IE(InfoExtractor):
'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,
} }