diff options
author | pulpe <Pulpan3@gmail.com> | 2014-06-06 09:00:28 +0200 |
---|---|---|
committer | pulpe <Pulpan3@gmail.com> | 2014-06-06 09:00:28 +0200 |
commit | a45e6aadd7c8aa42d769b9c0ee0c7d29258efcf1 (patch) | |
tree | d33c2d2a85b5080795b6c5d2093c1d773f782ce7 /youtube_dl | |
parent | 6a15923b77dc610b85810a15ce8a76f6688ed5e9 (diff) |
[TagesschauIE] Fix possible error if quality is not defined
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/tagesschau.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/tagesschau.py b/youtube_dl/extractor/tagesschau.py index fec1ff67e..e2ad7c393 100644 --- a/youtube_dl/extractor/tagesschau.py +++ b/youtube_dl/extractor/tagesschau.py @@ -59,6 +59,8 @@ class TagesschauIE(InfoExtractor): elif res == 'l': res = 'large' quality = 2 + else: + quality = 0 formats.append({ 'format_id': res+'_'+ext, |