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-filesize not working with --external-downloader #16043
Comments
|
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.03.26.1. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):command: youtube-dl -v -x --external-downloader aria2c --max-filesize 10m "https://www.youtube.com/watch?v=MD3ROlR6k8I"
Description of your issue, suggested solution and other information
So I have a script that searches and downloads a bunch of files from youtube for me, and am using --external-downloader aria2c in my youtube-dl commands, since it's way faster than default. Anyway, I want it to not download a video bigger than a certain size, so I do --max-filesize 10m, but it downloads the video anyway, even though the filesize is shown to be well over 10Mb. --max-filesize works fine without specifying an external downloader, but if I specify aria2c, avconv, or wget, it downloads the file anyway, despite it being over the specified maximum size. I've tried it with different videos and with ytsearch: and the problem is consistant.