Browse Source

[TagesschauIE] Fix possible error if quality is not defined

master
pulpe 10 years ago
parent
commit
a45e6aadd7
1 changed files with 2 additions and 0 deletions
  1. 2
      youtube_dl/extractor/tagesschau.py

2
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,

Loading…
Cancel
Save