1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00: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,
} }