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

pull/4590/head
Sergey M․ 10 years ago
parent 23cfa4ae45
commit 1b7b1d6eac

@ -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,
} }

Loading…
Cancel
Save