ghoshRitesh12 / aniwatch

📦 A scraper package serving anime information from hianime.to
https://www.npmjs.com/package/aniwatch
MIT License
15 stars 8 forks source link

Question: About Proxy #3

Closed sampatsharma143 closed 1 week ago

sampatsharma143 commented 1 week ago

Do we need to add proxy or hianime.to does not ban any ip ?

ghoshRitesh12 commented 1 week ago

This API has been active since 1 year and haven't faced any IP ban issues since. So it's safe to assume that hianime doesn't ban IPs.

sampatsharma143 commented 1 week ago

can you share your traffic count ? thank you.

ghoshRitesh12 commented 1 week ago

Screenshot_2024-11-06-14-31-53-91_40deb401b9ffe8e1df2f1cc5ba480b12.jpg

I had one instance of this API running on render for demonstration purposes but it received so much traffic from other users that it was suspended for high egress. I would've shown you the previous logs but they've expired as it's been a long time since service suspension.

sampatsharma143 commented 1 week ago

okay, thanks for sharing this much, i guess i will have to check on production can you tell me , if i have to implement proxy i will just have to implement it in the client.ts only ?

ghoshRitesh12 commented 1 week ago

Since this is just a library do it however you want. It isn't opinionated. Also you can use this https://github.com/itzzzme/m3u8proxy for streaming links i.e. m3u8 proxy.

sampatsharma143 commented 1 week ago

Thanks for sharing this but i use this in my other project : https://github.com/warren-bank/HLS-Proxy

ghoshRitesh12 commented 1 week ago

Thanks for sharing that too.