|
@@ -22,8 +22,8 @@ def convert_dto(info):
|
|
|
if item.get("width"):
|
|
|
thumbnails.append({
|
|
|
"url": item.get("url", ""),
|
|
|
- "width": item.get("width", 0),
|
|
|
- "height": item.get("height", 0),
|
|
|
+ "width": f"{item.get('width', 0)}",
|
|
|
+ "height": f"{item.get('height', 0)}",
|
|
|
})
|
|
|
formats = []
|
|
|
for item in info.get("formats", []):
|