elvis972602 / Kemono-scraper

A simple downloader to download media from kemono.party
MIT License
193 stars 12 forks source link

Suggestion: Add an arg related to comments #20

Open MVPAIR opened 1 year ago

MVPAIR commented 1 year ago

I noticed there is no arg related to comments, can you add it, because some artists like to post some important passwords or other info in the comments

MVPAIR commented 1 year ago

And i found it skips posts without attachment, but some posts without attachment may have text content including links, so maybe you can write the content then skip the post to fix it

elvis972602 commented 1 year ago

Now this is using api like https://xxxx.party/api/<service>/user/<id> to get the content of the post, however it doesn't include the comments. Of course, you can get them by crawling the html, but this is completely different from the current implementation. I've also been trying to find out if there is an api for comments, but I haven't found it (or maybe it doesn't exist).

Triramama commented 2 weeks ago

Now this is using api like https://xxxx.party/api/<service>/user/<id> to get the content of the post, however it doesn't include the comments. Of course, you can get them by crawling the html, but this is completely different from the current implementation. I've also been trying to find out if there is an api for comments, but I haven't found it (or maybe it doesn't exist).

aghm, https://kemono.su/documentation/api, it's /{service}/user/{creator_id}/post/{post_id}/comments can you work with it