Donmai

Pixiv preview images

Posted under General

I just gave the program a little test drive under the name pixiv_preview_bot.

The script is here.

http://python.pastebin.com/m1551060

(I had to change all my passwords because of that post :( The next version is going to have the credentials in a separate file!)

I think it is necessary for the program to download the file. The program grabs the image URL from danbooru and tells danbooru to post a new image with out the _m. The program lets danbooru sort out any errors. However, if the file already exists, I don't know where on danbooru it is. Because danbooru saves everything as an md5, I need the md5 of the image to do anything.

You can take over the pixiv_preview_bot account to you if you want. It has a new password now though.

h4x0r said:
However, if the file already exists, I don't know where on danbooru it is. Because danbooru saves everything as an md5, I need the md5 of the image to do anything.

Then why not do a tag query like md5:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

You can take over the pixiv_preview_bot account to you if you want. It has a new password now though.

Thanks but no thanks. I already have an account.

Quess said:
Then why not do a tag query like md5:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I need a MD5 to do the search. To get the MD5 I have to download the image from pixiv.

Thanks but no thanks. I already have an account.

I see. You want all the bot posts to be under you name so you get a huge post count :P

h4x0r said:
I need a MD5 to do the search. To get the MD5 I have to download the image from pixiv.

Ah, ok. I misunderstood what you said and thought you get the MD5 from the response.

I see. You want all the bot posts to be under you name so you get a huge post count :P

Wait, where did that come from?

I don't really care about my post count. I care about preserving approved data. If I can put those posts under anonymous, I'd do so.

1 2