1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-16 14:27:53 +00:00

[dreisat] Fix thumbnails' width and height

This commit is contained in:
Sergey M․ 2014-06-08 22:41:24 +07:00
parent 702e522044
commit 15e423407f

View File

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