mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 21:00:23 -05:00
[TagesschauIE] Fix possible error if quality is not defined
This commit is contained in:
parent
6a15923b77
commit
a45e6aadd7
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ def _real_extract(self, url):
|
||||||
elif res == 'l':
|
elif res == 'l':
|
||||||
res = 'large'
|
res = 'large'
|
||||||
quality = 2
|
quality = 2
|
||||||
|
else:
|
||||||
|
quality = 0
|
||||||
|
|
||||||
formats.append({
|
formats.append({
|
||||||
'format_id': res+'_'+ext,
|
'format_id': res+'_'+ext,
|
||||||
|
|
Loading…
Reference in a new issue