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.
@porsupah yeah, although in this case my bot was actually running into the bot detection, somehow, despite only making one lightweight request per hour. Hopefully switching to the official API fixes it for good.
@porsupah yes, constantly
@fluffy Would Google ever let you down? =:)