Commit abf254de authored by TheTechRobo's avatar TheTechRobo
Browse files

Specifically handle 429 in playboard

parent f18663cb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -189,6 +189,8 @@ class Playboard(YouTubeService):
            available = url
        elif code == 404:
            archived = False
        elif code == 429:
            raise AssertionError("We've been blocked by Playboard")
        else:
            raise AssertionError(f"bad status code {code}")
        return cls(