From ffa4c1cd01599ec5784a72067cc41ca24008b4fc Mon Sep 17 00:00:00 2001 From: simple-minded <191973953+hakarrr@users.noreply.github.com> Date: Wed, 2 Dec 2026 17:44:04 +0530 Subject: [PATCH 1/2] Report suspended and parked sites as errors instead of found accounts --- maigret/errors.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/maigret/errors.py b/maigret/errors.py index cf3768c5c..e0d1c365d 100644 --- a/maigret/errors.py +++ b/maigret/errors.py @@ -100,6 +100,14 @@ def desc(self): # ("Checking your browser"), turning blocked probes into false CLAIMED # hits on absence-only message checks (3dcadforums.com -> eng-tips.com). '/.stile/challenge': CheckError('Bot protection', 'Stile challenge'), + # A lapsed or suspended site: the host answers HTTP 200 on every path with + # the same page, so a status_code check reads every username as claimed + # (wavedream.wiki: "Account Suspended" page, unshittified.club: Sedo + # for-sale page after the domain expired). + 'Account Suspended': CheckError('Site-specific', 'Hosting account suspended'), + 'cdn.sedo.com/c7r/domain-details/': CheckError( + 'Site-specific', 'Domain is parked for sale (Sedo)' + ), } PROXY_RECOMMENDATION = ( From ac2d6e9094b152fb545b13d620d9765bddb5d40f Mon Sep 17 00:00:00 2001 From: simple-minded <191973953+hakarrr@users.noreply.github.com> Date: Wed, 2 Dec 2026 17:44:53 +0530 Subject: [PATCH 2/2] Implement error detection tests for suspended and parked sites Add test for detecting suspended and parked sites as errors. --- tests/test_error_detection.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/test_error_detection.py b/tests/test_error_detection.py index 30a881052..cc8c45525 100644 --- a/tests/test_error_detection.py +++ b/tests/test_error_detection.py @@ -57,6 +57,24 @@ def test_pow_challenge_pages_are_bot_protection(): assert pow_js.type == "Bot protection" +def test_suspended_and_parked_sites_are_errors_not_accounts(): + # Both answer 200 on every path, so every username would read as claimed. + suspended = detect_error_page( + "<html><head><title>Account Suspended - HostDash", 200, {}, ignore_403=False + ) + parked = detect_error_page( + '