diff --git a/twscrape/queue_client.py b/twscrape/queue_client.py index a032a84..535fd3a 100644 --- a/twscrape/queue_client.py +++ b/twscrape/queue_client.py @@ -174,12 +174,15 @@ class QueueClient: return # ignore this error if rep.status_code == 200 and "Authorization" in msg: + return # ignore this error raise UnknownAuthorizationError(msg) # todo: (32) Could not authenticate you if msg != "OK": - raise ApiError(rep, res) + logger.error(f"Unknown error: {msg}") + return # ignore this error + #raise ApiError(rep, res) rep.raise_for_status()