1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[TagesschauIE] Fix possible error if quality is not defined

This commit is contained in:
pulpe 2014-06-06 09:00:28 +02:00
parent 6a15923b77
commit a45e6aadd7

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,