From c934693fcefa29a1cebdcd6a6a64501d2b7a20c1 Mon Sep 17 00:00:00 2001 From: Kaif Date: Sat, 15 Aug 2026 01:43:59 +0530 Subject: [PATCH] fix: probe HuggingFace via the API endpoint (#2957) The profile route returns 200 for reserved paths (models, pricing, docs) and for organization pages, so all of them were reported as user accounts. Checking /api/users/{username}/overview instead returns 404 for those, while `url` stays the profile page so reports keep linking to a readable page. --- maigret/resources/data.json | 1 + 1 file changed, 1 insertion(+) diff --git a/maigret/resources/data.json b/maigret/resources/data.json index e0f47a2a..bf1a5da4 100644 --- a/maigret/resources/data.json +++ b/maigret/resources/data.json @@ -3081,6 +3081,7 @@ "HuggingFace": { "checkType": "status_code", "url": "https://huggingface.co/{username}", + "urlProbe": "https://huggingface.co/api/users/{username}/overview", "urlMain": "https://huggingface.co/", "usernameClaimed": "blue", "usernameUnclaimed": "noonewouldeverusethis7",