Skip to content
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

[kemono.party] downloading from a range of pages #1674

Closed
Cl1ff opened this issue Jul 5, 2021 · 3 comments
Closed

[kemono.party] downloading from a range of pages #1674

Cl1ff opened this issue Jul 5, 2021 · 3 comments

Comments

@Cl1ff
Copy link

Cl1ff commented Jul 5, 2021

Hey, is there a way to download from a range of pages on sites such as kemono.party?

Range would work if each post on a user's page had a single image, but a majority of the time each post has multiple images. Trying to mass download a portion of a user would require having to go through each post and adding how many images there would be total.

I've tried using chapter-range but it does not seem to have any implementation with kemono.party as everything gets downloaded regardless of what chapter-range is put.

@mikf
Copy link
Owner

mikf commented Jul 7, 2021

There's no generic way to specify a range of posts, i.e. no --post-range, and it's also not possible to implement it with how things work internally.
It should, however, be rather easy to implement a max-posts option like it has been done for Pixiv to limit the number of posts, and to parse the o query parameter from URLs like https://kemono.party/<SERVICE>/user/<ID>?o=25 to use as a starting point. Would that be OK?

@Cl1ff
Copy link
Author

Cl1ff commented Jul 9, 2021

That would work perfectly as the main reason I needed such a feature is to only download newer posts from a user I haven't downloaded from yet.

@mikf
Copy link
Owner

mikf commented Jul 9, 2021

Done. -o max-posts=25 to stop after 25 posts, and ?o=25 at the end of a URL to start after post number 25

@mikf mikf closed this as completed Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants