From: Sergey M․ Date: Sun, 28 Dec 2014 09:41:52 +0000 (+0600) Subject: [arte.tv:+7] Make quality optional (Closes #4583) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=1b7b1d6eac4b40eddd0d574e5e5222f949704104;p=youtube-dl [arte.tv:+7] Make quality optional (Closes #4583) --- diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.py index 219631b9b..f02539327 100644 --- a/youtube_dl/extractor/arte.py +++ b/youtube_dl/extractor/arte.py @@ -133,7 +133,7 @@ class ArteTVPlus7IE(InfoExtractor): 'width': int_or_none(f.get('width')), 'height': int_or_none(f.get('height')), 'tbr': int_or_none(f.get('bitrate')), - 'quality': qfunc(f['quality']), + 'quality': qfunc(f.get('quality')), 'source_preference': source_pref, }