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-downloads issues #232
Comments
|
Wow, the new option gets used quickly. Checking On the other hand, terminating youtube-dl is not that easy. Note that any solution must work even if youtube-dl is used as a library by another hosting program. Therefore, we can't just call |
|
If you want --max-downloads to skip any further videos, you'll likely have large playlists. In these cases, simply specify |
|
Not counting unmatched videos is fine for me. For the record, limiting playlist size with playlistend may not work in my case. Anyway your solution fits me well for now, and if I absolutely want max-downloads, I can still make a quick and dirty hack :) Thank you for your reactivity anyway! |
|
After careful deliberation, we raise a |
When I started using the --max-downloads option I expected it to limit the number of actually downloaded files. I was wrong :)
I'm using this option with --match-title option and --max-downloads are counting all files not only the ones matching the REGEXP. So I ended with less than --max-downloads files on my harddrive.
Is it possible to only increment the counter when a file is actually downloaded ? (maybe it will raises an issue with simulate, I'm not familiar enough with the code)
One other "issue" is that when you reach max-downloads youtube-dl keeps running even if it is never going to download another file. Instead of only writing a message saying "max-downloads reached" why not stop youtube-dl ?