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. https://piunikaweb.com/2021/04/26/youtube-down-and-not-working-for-many-server-throwing-error-429/ 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.
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.