]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[arte.tv:+7] Make quality optional (Closes #4583)
authorSergey M․ <dstftw@gmail.com>
Sun, 28 Dec 2014 09:41:52 +0000 (15:41 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 28 Dec 2014 09:41:52 +0000 (15:41 +0600)
youtube_dl/extractor/arte.py

index 219631b9b0dfa690a37e09a7b3473566543370e2..f025393272b50fdd6537a5046aca4866aeedf467 100644 (file)
@@ -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,
             }