diff --git a/maigret/checking.py b/maigret/checking.py index 9f368f74..a196cfc9 100644 --- a/maigret/checking.py +++ b/maigret/checking.py @@ -131,6 +131,9 @@ async def check(self, future) -> Tuple[str, int, Optional[CheckError]]: self.logger.debug(e, exc_info=True) error = CheckError("Unexpected", str(e)) + if error == "Invalid proxy response": + self.logger.debug(e, exc_info=True) + return str(html_text), status_code, error diff --git a/maigret/resources/data.json b/maigret/resources/data.json index 188fdd4d..5337c914 100644 --- a/maigret/resources/data.json +++ b/maigret/resources/data.json @@ -14523,9 +14523,26 @@ "usernameClaimed": "jenny", "usernameUnclaimed": "noonewouldeverusethis7" }, + "Nitter": { + "tags": [ + "messaging" + ], + "regexCheck": "^[a-zA-Z0-9_]{1,15}$", + "checkType": "message", + "absenceStrs": [ + "Error | nitter", + "The requested URL was not found on this server." + ], + "source": "Twitter", + "alexaRank": 48, + "urlMain": "https://www.nitter.net/", + "url": "https://nitter.net/{username}", + "usernameClaimed": "blue", + "usernameUnclaimed": "noonewould123" + }, "Twitter": { "tags": [ - "us" + "messaging" ], "headers": { "sec-ch-ua": "Google Chrome\";v=\"87\", \" Not;A Brand\";v=\"99\", \"Chromium\";v=\"87\"", @@ -14536,6 +14553,7 @@ "errors": { "Bad guest token": "x-guest-token update required" }, + "regexCheck": "^[a-zA-Z0-9_]{1,15}$", "activation": { "method": "twitter", "marks": [ @@ -14554,7 +14572,7 @@ "urlMain": "https://www.twitter.com/", "url": "https://twitter.com/{username}", "usernameClaimed": "blue", - "usernameUnclaimed": "noonewouldeverusethis7" + "usernameUnclaimed": "noonewould123" }, "Typeracer": { "tags": [