Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] formatStreams.size parameter wrong in API response, always returns 16:9 #4131

Open
iGerman00 opened this issue Sep 29, 2023 · 1 comment · May be fixed by #4586
Open

[Bug] formatStreams.size parameter wrong in API response, always returns 16:9 #4131

iGerman00 opened this issue Sep 29, 2023 · 1 comment · May be fixed by #4586
Labels
bug Something isn't working

Comments

@iGerman00
Copy link

Describe the bug
The API response for a Shorts video isn't correct. The resolution (formatStreams.size) parameter is returning 1280x720 or otherwise 16:9, while the video is clearly 9:16.

The correct resolution is shown by tools like youtube-dl (screenshot attached).

Steps to Reproduce

Logs
N/A

Screenshots
WindowsTerminal (2023-09-29 20։12։55)

Additional context
Multiple instances tested, all seemingly have this error

@iGerman00 iGerman00 added the bug Something isn't working label Sep 29, 2023
@absidue
Copy link
Contributor

absidue commented Sep 29, 2023

It's hardcoded in the code based on the itag, that part was probably written before shorts existed. Will probably be fixed by #3620.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants