如何用圖片的md5去反查Gelbooru的相關資訊?


Gelbooru的預設檔名是: 'md5.ext'

這樣的檔名沒有包含多少有用的資訊。 如何用md5去反查像: id, tags 之類的資訊?

URL = 'http://gelbooru.com/index.php?page=dapi&s=post&q=index&tags=md5%3a{0}'

其中{0}可以是:

md5
md5*(下載回來的檔名)

詳細參照: http://gelbooru.com/index.php?page=help&topic=cheatsheet


=============================================================
另外,yande.re也支援類似的查詢。

URL = 'https://yande.re/post.json?{0}'

參數:
------------------------------------------------------------
    * limit=100  # result per request, maximum is 100
    * page=1     # index started at 1
    * tags=''    # result filter by tags


其中,tags=id:{post_id}

沒有留言:

張貼留言