Danbooru

Pixiv imagecheck Userscript

Posted under General

This is a rather simple userscript that uses the pixiv thumbnail to check if the image exists on Danbooru, and if exists..adds a dotted border to the thumbnail.

This script basically:
Grabs pixiv thumbnail url.
Converts to original image url.
Uses the danbooru API to check the source (via post/index.json?tags=source:)
If image exists, add dotted border to thumbnail.

Made this simply due to occasionally finding a rather awesome image on pixiv > tagging & uploading to danbooru, just to find out it had already been uploaded (Therefore making half the tagging done a waste of time).

Download: Link | Source

Known Issues:

  • Does not work with manga posts.

Updated

Log said:
This is exactly why albert had to throttle api access.

I did see this but...

albert said:
API calls (that is, JSON/XML requests) to post listings are now throttled on a per IP address basis, limited to 1 call per second. If you try to make calls more often than this you'll get a blank 503 page.

Didn't seem to be getting any 503 errors, which means either the change was reversed..or it's not working as intended.
Either way, I've limited the script to 1 call per second for now.

DakuTree said:
Made this simply due to occasionally finding a rather awesome image on pixiv > tagging & uploading to danbooru, just to find out it had already been uploaded (Therefore making half the tagging done a waste of time).

Just make a habit out of pressing "Find Similar".

1