From b514e181a1da42c4efb0501a90a2a36ff797b574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20=C3=98rb=C3=A6k=20Chemnitz?= Date: Thu, 21 Dec 2023 23:08:30 +0100 Subject: [PATCH] not banned, but broader unknown auth error --- twscrape/queue_client.py | 1 - 1 file changed, 1 deletion(-) diff --git a/twscrape/queue_client.py b/twscrape/queue_client.py index ca1a9f1..a032a84 100644 --- a/twscrape/queue_client.py +++ b/twscrape/queue_client.py @@ -174,7 +174,6 @@ class QueueClient: return # ignore this error if rep.status_code == 200 and "Authorization" in msg: - await self._close_ctx(-1, banned=True, msg=msg) raise UnknownAuthorizationError(msg) # todo: (32) Could not authenticate you