So it turns out that the overnight gaps in @lofibeats's YouTube thing is YouTube going into HTTP 429 mode. Presumably the problem is other machines from my VPS provider hammering the APIs, because I can't see my one-request-per-hour causing any rate-limiting problems!

Maybe I should look into using the proper search API, just to be a better neighbor. Google charges money for that though. :(

Oh, huh, turns out YouTube's been having lots of outages where it responds 429 to everyone. piunikaweb.com/2021/04/26/yout Guess there's not a lot I can do about that except continue with the current failure mode of just not providing a video if none comes up.

oh wait looking further into my logs it looks like YouTUbe has actually actively detected "unusual activity" from my bot... which, y'know, makes one request per hour. Oy.

okay, switching to the YouTube data API wasn't that bad and it turns out they give you like 100 requests per day for free. The developer docs fucking suck though, especially when it comes to using an API key instead of oauth.

Sign in to participate in the conversation
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!