Browse Source

[TagesschauIE] Fix possible error if quality is not defined

totalwebcasting
pulpe 11 years ago
parent
commit
a45e6aadd7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      youtube_dl/extractor/tagesschau.py

+ 2
- 0
youtube_dl/extractor/tagesschau.py View File

@ -59,6 +59,8 @@ class TagesschauIE(InfoExtractor):
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…
Cancel
Save