HNHacker News
TopNewBestAskShowJobs

followonlyyt

4 karma · joined July 12, 2021

submissionscomments
followonlyyt··on Show HN: Alternative Front end Client for people addicted to YouTube
Hi I'm the author of this project.

I just wanted to use this comment section to talk about a clever thing I did to prevent rate limiting for people using the web app.

So the project uses the invidious API instead of the YouTube official API which is really limited. However, the usual problem with the invidious API is that it is often time rate limited if you use a specific instance too much.

What I did is that for each requests made through my client a random invidious instance is select with a health ratio of at least 80%. This way rate limiting is pretty much non-existent when using the app.