Danbooru

searching for posts using md5 sum

Posted under General

I was wondering whatever there is a way to search for a file if you know its MD5 hash.

Will the API return ''location'' when I upload a zero length file (or other bogus, short file) along with valid MD5 sum or is the validation of file performed before checking for duplicates?

Updated by korokun

I do believe you can do searches like "md5:HASH_VALUE".

Consult the Danbooru cheat sheet.

Edit: If you try to upload a file that already exists (eg, the md5 hash matches one that's already in the system), the upload will get canceled and you'll be redirected to the post of the already-existing image. You'd probably want to try the Danbooru image search service, too.

And I'm also fairly sure the uploader, upon the completion of the upload, will let you know if a file you're trying to upload is bogus or not.

Bapabooiee said:
I do believe you can do searches like "md5:HASH_VALUE".

Consult the Danbooru cheat sheet.

Oh! That's it!

Bapabooiee said:
Edit: If you try to upload a file that already exists (eg, the md5 hash matches one that's already in the system), the upload will get canceled and you'll be redirected to the post of the already-existing image. You'd probably want to try the Danbooru image search service, too.

And I'm also fairly sure the uploader, upon the completion of the upload, will let you know if a file you're trying to upload is bogus or not.

Yes, I know that but I was looking for a way to syncronise my nepomuk tags with danbooru ones so it has to be automatic and not require uploading whole file just to get a post number.

1