mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.97k stars 975 forks source link

[Exhentai] How to get every gallery between two GIDs? #3181

Closed a84r7a3rga76fg closed 2 years ago

a84r7a3rga76fg commented 2 years ago

New update on Exhentai removed pages which broke --chapter-range. Now you've to use GIDs to search for something.

How can I get every gallery between two GIDs in one or several categories?

mikf commented 2 years ago

I don't think you can, at the moment. The current code still tries to go page by page and returns the first batch of galleries over and over.

mikf commented 2 years ago

Pagination got updated to be able to handle the new method (https://github.com/mikf/gallery-dl/commit/6a0c5e34f4e5b9e3113fc819e93e645e69cd19b2) so --chapter-range should work like before, and you now can use --chapter-filter to check gallery_id values (https://github.com/mikf/gallery-dl/commit/20fbba9d7c54b689397a66a92ce85ad69be9729a).


gallery-dl --chapter-filter "gallery_id > 2360000 or abort()" "https://exhentai.org/?f_cats=999&next=2370000"