-
-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Describe the bug
When using https://nekos.life/api/v2/img/:endpoint many endpoints don't work and return a 404 message that reads:
{"msg":"404"}
Here is a list of all the not working endpoints I found:
baka, poke, nekoGif, foxGirl, kemonomimi, holo
But for some reason when using an older version (2.0.7) of the wrapper I could for example use the foxGirl endpoint and I would even get a result that linked to https://cdn.nekos.life/fox_girl/foxgirl_85.jpg (that link is working at the moment).
To Reproduce
Not working API endpoints:
Go to: https://nekos.life/api/v2/img/foxGirl (The endpoint can be changed to any endpoint of the list I created in this issue.)
Result: {"msg":"404"}
Working older nekos.life wrapper version:
1. Install version 2.0.7 of the nekos.life wrapper.
2. Run the sfw.foxGirl() function and get the result.
Result: {"url":"https://cdn.nekos.life/fox_girl/foxgirl_85.jpg"}
Expected behavior
Both should either give us a JSON similar to the result of the older wrapper or a 404 error.
Desktop (please complete the following information):
- OS: Windows 10 Home
- OS version: 21H2
- Node version: 16.13.1
Additional context
This is an expansion of the over one month old #44 issue.