Skip to content

Conversation

@265866
Copy link

@265866 265866 commented Oct 23, 2025

I added a new --max-downloads command line option to limit the number of files downloaded per job

I wanted to make it easier to stop downloads early without writing an external script or interrupting it manually, and I mainly used it for testing new extractors and previewing the first few files from various sources

The default behavior is unchanged when the option is omitted, and I tested it locally to make sure download halts cleanly after reaching the limit

(this is also my first open source contribution, feedback is very welcome!)

@265866
Copy link
Author

265866 commented Oct 23, 2025

The only thing I’m not sure about is whether there are any other places where I should update or add documentation

I added the option to gallery_dl/option.py, but I wasn’t sure if there are other files or docs that need changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant