mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-29 01:51:06 +00:00
[dreisat] Fix thumbnails' width and height
This commit is contained in:
parent
702e522044
commit
15e423407f
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ def _real_extract(self, url):
|
|||
|
||||
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]
|
||||
|
||||
|
|
Loading…
Reference in a new issue