IrfanKhan66 / hianime-mapper

An API built using Node.js and Hono.js which takes anilist Id and maps with hianime and also provides video URL
https://hianime-mapper.vercel.app
13 stars 19 forks source link

Hi Owner #7

Open adeyemialameen04 opened 2 weeks ago

adeyemialameen04 commented 2 weeks ago

Don't know how you may be of any help but i'm currently using this and most of the times its not correct and was wondering if u could provide any other alternatives. So my current solution is to list the animes from anilist and get the details using goganmie through anilist id, so this works but the sources from goganime doesn't include the into and outro skips which hianime does

  1. Do you have any idea on how hianime get those(intro and outro skips)
  2. Is there a way to improve hianime-mapper to be accurate
  3. Any other recommendations

Thanks.

IrfanKhan66 commented 1 week ago

the hianime-mapper searches for anime in hianime site using the title (en) it gets from anilist api response and uses string-similarity package to match the most similar title from hianime and the one with highest score is considered the matched result so it might work in some cases when the title are not similar, and the intro and outro skip times are natively from hianime backend api so in order to get them we need to scrape through the anime. I might improve the matching method to make it more error free in future