fent / fent/node-ytdl-core

Thumbnail width and height propeties doesn't match the image real width and height

Open
#911 1 comment 0 reactions 0 assignees View on GitHub
needs more info
Dominant language
JavaScript
Stars
4.7k
Forks
852
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm encountering a weird bug with the thumbnails and their sizes.

`ytdl.getBasicInfo(videoURL).videoDetails.thumbnail[/*last thumbnail (maxres)*/]` width and height doesn't match with the image size for some reason.

![image](https://user-images.githubusercontent.com/46955459/114969141-2fb59880-9e4e-11eb-9820-28b49956873c.png)

![image](https://user-images.githubusercontent.com/46955459/114969154-32b08900-9e4e-11eb-9856-cc1632fee116.png)

As you can see, instead of getting 1280x720 the program says the image is 1920x1080.

I tried with another video, same results. I also tested the other sizes, and they are working right.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.