From 3e56c95e160162abb4349fbcc4d7a5625db7420e Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Mar 2026 15:12:56 +0100 Subject: [PATCH] Fix SoundCloud false-positive: switch to message-based check (#2355) * Initial plan * Fix SoundCloud false-positive: switch from status_code to message checkType SoundCloud returns HTTP 200 for non-existent user profiles (soft 404), causing status_code check to report CLAIMED for random usernames. Switch to message checkType with: - presenseStrs: hydratable user marker in server-rendered HTML - absenceStrs: generic page title for non-existent users Markers sourced from WhatsMyName project's verified SoundCloud entry. Co-authored-by: soxoj <31013580+soxoj@users.noreply.github.com> Agent-Logs-Url: https://github.com/soxoj/maigret/sessions/8aa10eef-78bf-4251-bf42-473cd94c7ef4 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: soxoj <31013580+soxoj@users.noreply.github.com> --- maigret/resources/data.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/maigret/resources/data.json b/maigret/resources/data.json index 239cd9b..b378a88 100644 --- a/maigret/resources/data.json +++ b/maigret/resources/data.json @@ -15230,7 +15230,13 @@ "tags": [ "music" ], - "checkType": "status_code", + "checkType": "message", + "presenseStrs": [ + "\"hydratable\":\"user\"" + ], + "absenceStrs": [ + "SoundCloud - Hear the world\u2019s sounds" + ], "urlMain": "https://soundcloud.com/", "url": "https://soundcloud.com/{username}", "usernameClaimed": "blue",