Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
max file size with best height option is not working. #14522
Comments
|
You should specify the filesize in the format selection instead. This one seems to works flawlessly |
|
TRY
|
Hi i am trying to download that YouTube video which file size is less then 250MB and wants to select the best quality of the video under 250MB but the video resolution must be less than or equal to 720p.
Mean if the file size of 720p is greater than 250MB then i want to download the 480p quality video.
if 480p quality video file size is also greater then 250MB then download 360p quality video.
Here is the youtube-dl command which i am using
youtube-dl --max-filesize 250M -f 'best[height<1080]' https://www.youtube.com/watch?v=57PwDGO7PW0but the above command checks only the 720p and returns a error and it does not check the 480p and 360p quality videos.
This is the error which i am facing
i have also tried this command to but still facing the above error
youtube-dl --max-filesize 250M -f 22/244/18 https://www.youtube.com/watch?v=57PwDGO7PW0Kindly please help me on this issue.