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

Downloading a post search from kemono.su/posts #5194

Closed
Dark-Mechanicus opened this issue Feb 13, 2024 · 5 comments
Closed

Downloading a post search from kemono.su/posts #5194

Dark-Mechanicus opened this issue Feb 13, 2024 · 5 comments

Comments

@Dark-Mechanicus
Copy link

Hello, as Kemono.su's interface is dreadful to parse through more than a couple of pages of posts I wanted to ask if there is a way to make gallery-dl download an entire search.

It's capable of doing so on other image gallery websites, so I'm wondering if I am just using the download parameters wrong.

@mikf
Copy link
Owner

mikf commented Feb 13, 2024

You mean general post searches like https://kemono.su/posts?q=foo ?
Per-artist searches are supported, but general searches not yet.

@Dark-Mechanicus
Copy link
Author

Yes that would be correct, I meant a general search as for any result with more than a few pages you spend longer going between pages than checking the results. I see, pity, thank you for your reply.

@mikf
Copy link
Owner

mikf commented Feb 13, 2024

Here you go: 139ff3f

@Dark-Mechanicus
Copy link
Author

Here you go: 139ff3f

Thank you, unfortunately it only downloads the first page of the search results.

@mikf
Copy link
Owner

mikf commented Apr 2, 2024

How did you get to that conclusion?
It definitely downloads more than just the first page of results.

[urllib3.connectionpool][debug] https://kemono.su:443 "GET /api/v1/posts?q=foo&o=0 HTTP/1.1" 200 18500
...
[urllib3.connectionpool][debug] https://kemono.su:443 "GET /api/v1/posts?q=foo&o=50 HTTP/1.1" 200 19301
...
[urllib3.connectionpool][debug] https://kemono.su:443 "GET /api/v1/posts?q=foo&o=100 HTTP/1.1" 200 11221
...

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