[core] Make `--max-downloads ...` stop immediately on reaching the limit
authordirkf <fieldhouse@gmx.net>
Wed, 10 Aug 2022 14:37:59 +0000 (15:37 +0100)
committerdirkf <fieldhouse@gmx.net>
Wed, 10 Aug 2022 14:37:59 +0000 (15:37 +0100)
commite6a836d54ca1d3cd02f3ee45ef707a46f23e8291
tree6ea2cee5bfe03002cbf4c71c3a5c8b25211d4b4d
parentdeee741fb145360576ceae9d69b1b43db082c404
[core] Make `--max-downloads ...` stop immediately on reaching the limit

Based on and closes #26638.
youtube_dl/YoutubeDL.py