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.
format filter filesize not working #8941
Comments
|
filesize metadata is not present for videoaudio formats thus your condition fails. You can add |
|
Thanks. Can I not filter for video-only and audio-only formats separately, at least? |
|
Use grouping with parentheses. |
|
Ok, I'll look into that. Thanks! |
|
@jodersus did you find any solution i am facing the same issue here..? |
Hi,
I am trying to use youtube-dl embedded in a simply python app that limits video download size.
I am using
ydl_opts = {'format' : 'best[filesize<16M]'}literally copied from the README Format Selection Examples ([https://github.com/rg3/youtube-dl/blob/master/README.md#format-selection-examples]) but I get ERROR requested format not available:Any help will be greatly appreciated
Best,
Alex