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] support for post versions #4498

Closed
PowerWasher9000 opened this issue Sep 3, 2023 · 8 comments
Closed

[kemono] support for post versions #4498

PowerWasher9000 opened this issue Sep 3, 2023 · 8 comments

Comments

@PowerWasher9000
Copy link

PowerWasher9000 commented Sep 3, 2023

Kemono recently allowed access to old post versions/revisions. An option or command to enable downloading of such posts would be nice.

(NSFW) https://kemono.party/fanbox/user/12895523/post/6506302/revision/7295292
(NSFW) https://kemono.party/fanbox/user/5624416/post/6436641/revision/7330315

It appears that versions 2 to 5 of the first post are identical. The files have different filenames (with each version) despite retaining the same hash, so I guess an archive is really needed here.

@a84r7a3rga76fg
Copy link

Is it just me that's not seeing a dropdown menu for revisions on the second link?

Looks like revisions have a unique number, maybe link that to a keyword like {revision}.

@mikf
Copy link
Owner

mikf commented Sep 4, 2023

@PowerWasher9000
Copy link
Author

Is it just me that's not seeing a dropdown menu for revisions on the second link?

Looks like revisions have a unique number, maybe link that to a keyword like {revision}.

It looks like they cleaned up redundant versions since the time of writing. And a new string for revised content sounds great specially for patreon where artists will sometimes edit artwork then upload under the same filename.

@biggestsonicfan
Copy link

Related #4399

@biggestsonicfan
Copy link

I am currently grabbing each page's html, parsing the revisions, then grabbing older html data and am going to attempt to parse all the html into a json format identical to what gallery-dl produces. It's not ideal, but it will get the job done for what I need it to do for now.

@komoreshi
Copy link

komoreshi commented Oct 19, 2023

Kemono's new API endpoint update added support for post revisions in the schema, /{service}/user/{creator_id}/post/{post_id}/revisions. There's also a PR to add support for the change in #4677

@sanddudu
Copy link
Contributor

@marshmallowhell My PR only acts as an emergency commit to fix the extractor ASAP so I won't implement anything about revision.

@biggestsonicfan
Copy link

biggestsonicfan commented Oct 19, 2023

Well, at least there's hope now, which is something we didn't have 2 months ago. I can wait patiently for this.

EDIT: Since the PR uses the new API and I already generated my own revision list, I can take the list of urls I created and use the current build to download the json metadata!

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

6 participants