[dreisat] Fix thumbnails' width and height

pull/3073/head
Sergey M․ 11 years ago
parent 702e522044
commit 15e423407f

@ -32,8 +32,8 @@ class DreiSatIE(InfoExtractor):
thumbnail_els = details_doc.findall('.//teaserimage') thumbnail_els = details_doc.findall('.//teaserimage')
thumbnails = [{ thumbnails = [{
'width': te.attrib['key'].partition('x')[0], 'width': int(te.attrib['key'].partition('x')[0]),
'height': te.attrib['key'].partition('x')[2], 'height': int(te.attrib['key'].partition('x')[2]),
'url': te.text, 'url': te.text,
} for te in thumbnail_els] } for te in thumbnail_els]

Loading…
Cancel
Save