Open K0-RR opened 6 months ago
Sometimes the AniDB and Anime-Planet rows aren't even appearing: https://myani.li/#/anime/details/55818.
Sometimes the AniDB and Anime-Planet rows aren't even appearing
For this, it is because MyAniLi loads the IDs from LiveChart API (see https://www.livechart.me/anime/12225) and sometimes they missed to add the IDs to those sites (AniDB, AniPla, AniSearch), but then again AniDB won't have separate entry as it is considered "Special Episode" on S2 entry, so don't expect prequel, ova, or special to be separate entry on AniDB. For the rest of future entry, I do think it's better for the app to allow manual edit whenever those ID can't be found.
for fetching anime-planet score, the only way is scraping its html content lol
@RDKRACZ thanks for reporting this. I am aware that the aniDB ratings aren't loading. Problem is, that my server has been banned from accessing aniDB because it made too many requests. Sadly there is no way to regain access. I will disable the request until I find another way to access the aniDB API. Regarding the anime-planet ratings: it is planned to scrape them (see indescriptive issue #60) but I haven't come around to implementing a scraper yet.
Regarding aniDB score, I used a public dump file by Shoko Anime for one of my project.
I don't know how frequent the entries were getting updated (due to anidb's archaic anti-ddos measurement), but assuming they update weekly, seems wouldn't be a problem to showcase a score.
Additionally, the data itself is a 1:1 offline data you can get in Anime info page of an entry compared what anidb officially published on their wiki.
Anipla on another hand tho 🗿
There are errors present related to anidb in the browser console:
Access to fetch at 'https://mal.myani.li/anidb/httpapi?client=myanilist&clientver=2&protover=1&request=anime&aid=15421&with-credits=1' from origin 'https://myani.li' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
As for anime-planet, no idea but since they are the only ones without API...
Other error: