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.
Request: Option to limit total maximum downloaded content #20730
Comments
|
HI! I am a new contributor on github and I want to take up this issue. Provide me the necessary help required. |
|
For single files, is this not covered by the |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2019.04.17. 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?
Description of your issue, suggested solution and other information
Feature request is an option to limit maximum consumed disk space for downloads. Something like
--max-total-files-sizesuch that the youtube-dl process would halt if the total number of bytes consumed on your local hard drive exceeds this argument. It would be a safety precaution against things like 1) Malicious user input on a web-app, 2) filling up your disk if you are trying to download an entire channel but don't realize how big it is.This is different than
--max-filesas that option could by "bypassed" by a single 200GB video, for example.