-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Pages #10
Comments
A very interesting feature, thanks @jbellanca. I'll try to implement it! |
I second this. And ideally, a shorthand to fetch just a single page by its number. Thank you for publishing this excellent tool, in any case. |
Hi @gcerretani. I got inspired and ended up implementing this feature, along with a couple of other small things. https://github.com/alexreg/antenati/tree/local Feel free to merge in some/all of these changes, if you like. You'll have to forgive me for switching CLI parsing to the Cloup library... I have already been looking for an excuse to play around with it, but also I didn't see a way to make optional (positional) arguments using argparse. Regardless, it should be easy enough to ignore that change. |
Done on 7c40b4b (sorry for the bad issue reference on the commit message, 1 instead o 10!) |
…and -l arguments. numbers are used in pythonic way, so also negative value can be used. if last is unset, the last image to be downloaded is the last of the gallery.
You can select the range using new command line options. For example:
Also negative indexes can be used:
|
I'd like to request a feature where you could specify the start and end page numbers, and have it just download those images. Would be very helpful to just grab the last 8 pages of an index, for example.
The text was updated successfully, but these errors were encountered: