jikan
jikan copied to clipboard
๐ [OFFICIAL] Generated Issue: ParserException
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
Sentry Report: https://jikan-ev.sentry.io/share/issue/215e6ac98e42452c90f4339598713c73/
Req: https://api.jikan.moe/v4/anime/31758/episodes/2 MAL: https://myanimelist.net/anime/5/_/episode/2
Episodes pages that do not exist for anime do not return 404. Instead they return HTTP 200 w/o any listing. Should be a quick fix with a node empty check and empty array return.
Expected Behavior
The API should have returned a successful response with data.ยคt_behavior=The API has returned an error:
Jikan\Exception\ParserException
Status code: 0
Message: Failed to parse 'https://myanimelist.net/anime/31758/_/episode/2'
Trace: /var/www/jikan-rest/vendor/jikan-me/jikan/src/Exception/ParserException.php on line 24
Steps To Reproduce
Http Request: `GET /v4/anime/31758/episodes/2
Environment
No response
Anything else?
No response