mirror of https://github.com/blackjack4494/yt-dlc
[TagesschauIE] Fix possible error if quality is not defined
This commit is contained in:
parent
6a15923b77
commit
a45e6aadd7
|
@ -59,6 +59,8 @@ class TagesschauIE(InfoExtractor):
|
|||
elif res == 'l':
|
||||
res = 'large'
|
||||
quality = 2
|
||||
else:
|
||||
quality = 0
|
||||
|
||||
formats.append({
|
||||
'format_id': res+'_'+ext,
|
||||
|
|
Loading…
Reference in New Issue