Closed markokovalua closed 1 month ago
Its because the youtube accepts progressive (video and audio together) and adaptive( video and audio separated) formats. You can download them both and join them together. In the combination you want. You can see the code for doing that here: class_pytubefix_use, you can use the class in your own code, or use mine. I made this GUI that interacts with pytubefix for me to fast download all the stuff and avoid the advertisement, in it you can click in the resolution and select any resolution you want.
It is a work in progress, and needs some documentation, but is somehow working.
Not a bug.
Your code is downloading the Progressive stream. For your URL that is 360p.
Suggestion. Learn about audio and video streams and how to work with them.
:exclamation: DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE :exclamation:
There is just one option to download video with audio (not confident whether it is bug or it is expected response).
Describe the bug
Hello, I have tried to download youtube video via
pytubefix
and got just one option to download video with audio. The resolution of the video is bad. Could you please help whether it is possible to download video with audio and with good resolution, thanks in advance.code that was used that resulted in the bug
Expected behavior
video with audio but bad quality
https://drive.google.com/file/d/1k0b_q9fOiK2ESW-G3qWST3xuQrc0oFxY/view?usp=sharing
video without audio but good quality
https://drive.google.com/file/d/1zgjoai47uvdNX4QkqoNRBscGSuksmqFL/view?usp=sharing
would like to download a video with good quality and with audio
Screenshots If applicable, add screenshots to help explain your problem.
`-> ys.download() (Pdb) ys