Gallery-dl: [Site Support Request] inkbunny.net

Created on 28 May 2019  路  10Comments  路  Source: mikf/gallery-dl

I hope Inkbunny can be supported

Link to the API

An account you can test to

site-support-request

Most helpful comment

There's probably still a lot to be done, but here is initial support for inkbunny: https://github.com/mikf/gallery-dl/commit/87202b8d7473a4d732d820a87416e734d063d9dc
To login, you need to check the "Enable API Access" box in your account settings.
Let me know about any other features you want to see, and of course about any bugs you encounter.

All 10 comments

Now that FA's been done, I really hope IB will be soon

Any news on this? :)

No, sorry.
I remember looking at the API docs linked above and being kinda put off after staring at it for a few minutes. Haven't made any progress since ...

Understandable, there are better documentations and also better APIs. I've been reading around the docs, doesn't seem _that_ complicated, but it's a bit unconventional. To download someone's favorites or submissions, you have to do a search. Usually there's an endpoint for that, too. While you can search submissions providing a username, you need the userid to get the favorites. But getting your own favorites is easy since your userid is returned at login.

Using the search (user's submission, favorites or pool's images) basically means: telling the site you want 100 results and a resultid, repeating the request providing that rid + incrementing a page var. I haven't compared the details but the submission details from the search are limited, so you may want to limit it to returning just the submissions ids.

Having submission ids only, like when trying to download a single link, you send a comma seperated list with a maximum of 100 ids to the submission info endpoint ... Only thing to find out is how to get another user's userid the easiest.

More or less like that. Hope that sparks your motivation a bit :)

There's probably still a lot to be done, but here is initial support for inkbunny: https://github.com/mikf/gallery-dl/commit/87202b8d7473a4d732d820a87416e734d063d9dc
To login, you need to check the "Enable API Access" box in your account settings.
Let me know about any other features you want to see, and of course about any bugs you encounter.

So the extractor structure in the .conf would look like

"inkbunny":
        {
            "username": "USER",
            "password": "PASS",
                    "filename": "{filename}.{extension}"
        },

after enabling the API box in the site user settings? Or is there anything else you need?

@biznizz yup, works for me!

katt@main ~ 禄 gallery-dl https://inkbunny.net/s/2187067
[inkbunny][info] Logging in as Blarghbarf
/mnt/jupiter/Temp/gallery-dl/inkbunny/kaittycat/2187067 3174867 Nevos Sees Everything.png

Have noticed that, when running the user post extractor, the program doesn't run from the latest picture posted, but from seemingly random older picture, then sort of bounce around. It's entirely possible, if your skip value has a low exit: number, that it could search around already downloaded pictures and close before finding any new pictures in the gallery you're trying to download.

The individual post extractor works fine as far as I'm aware.

EDIT: This was tested with the initial dev build before the changes made an hour prior to this posting, just for clarity.

EDIT 2: Have tried installing dev build after seeing the commts, then tried running it again. Gallery ripping does not start from the newest image from the top of page 1 (or just newest image if gallery is only one page) like Deviantart or FA, but still starts somewhere else.

Ex. if the submission number for the newest image is XXX9380, then ripping the user will start at XXX4328, earlier on the page. It wont start with the oldest image at WWW8922 on the last page either. Very odd behavior.

Again, isn't THAT big of an issue, especially if you're ripping the gallery for the first time, but if you use a value of "skip": "exit:50" (usually enough to get anything new with a previously ripped gallery, but long enough to not end prematurely if something does come up later on), then it's entirely possible for the program to end without getting anything new, and making temporary changes to the config is a bit of pain. If it's because of how the website is set up, it can't be helped I suppose, but just wanted to see if this is just something I'm experiencing or not or if it's an issue with anyone else.

Is the num keyword supported for multi-image posts? If not, would it be possible to add it? If I had my filename set up like {submission_id}_{title}_{num}.{extension} then this post would download two files named 2217895_Confession_00.png and 2217895_Confession_01.png.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thisisamericalolxdmdrrrrddds picture thisisamericalolxdmdrrrrddds  路  6Comments

ucok66 picture ucok66  路  3Comments

OvertPerson picture OvertPerson  路  5Comments

ucok66 picture ucok66  路  6Comments

CaptainJawZ picture CaptainJawZ  路  5Comments