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

get_highest_resolution() method always return 360p #366

Open
Mak5er opened this issue Dec 1, 2024 · 2 comments
Open

get_highest_resolution() method always return 360p #366

Mak5er opened this issue Dec 1, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Mak5er
Copy link

Mak5er commented Dec 1, 2024

❗ DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE ❗

lack of information will lead to closure of the issue


Describe the bug
any video that I test is shown in the maximum 360p resolution

<Stream: itag="18" mime_type="video/mp4" res="360p" fps="30fps" vcodec="avc1.42001E" acodec="mp4a.40.2" progressive="True" type="video">

But video 100% has higer resolution


code that was used that resulted in the bug

from pytubefix import YouTube

yt = YouTube(url, use_oauth=True, allow_oauth_cache=True, on_progress_callback=on_progress,
                     oauth_verifier=custom_oauth_verifier)

print(yt.streams.get_highest_resolution())

Desktop (please complete the following information):

  • OS: Windows 11 Pro
  • Python Version 3.10
  • Pytubefix Version 8.7.0
@Mak5er Mak5er added the bug Something isn't working label Dec 1, 2024
@NannoSilver
Copy link
Contributor

Not a bug.
That is what you get with progressive="True"

@goalie1998
Copy link

See here

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
Status: waiting
Development

No branches or pull requests

3 participants