Nekos-moe / api

https://docs.nekos.moe/
MIT License
37 stars 7 forks source link

danbooru #17

Closed Kadantte closed 3 years ago

Kadantte commented 3 years ago

Hi, Does Danbooru needs a Key or what? cause if I tried to download from it the website return this message! btw I'm using an Admin Account on Neko website.

image

// http://localhost:8000/api/v1/proxy/danbooru?url=https:%2F%2Fcdn.donmai.us%2Foriginal%2F61%2Ffa%2F61fa635cfed870e8de8a9305026f486a.jpg

{
  "message": "Authentication required"
}

btw API grab everything except for the image!

image

brussell98 commented 3 years ago

You are not sending the token to the API from the website. Uploading, and thus image proxy, require valid authorization.

Kadantte commented 3 years ago

Shouldn't the website send the token by Auto? I mean if I'm already login it should be automated!

brussell98 commented 3 years ago

It does, as can be seen on Nekos.moe. You have to have changed it