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.
This commit is contained in:
Kaif
2026-08-14 22:13:59 +02:00
committed by GitHub
parent b84d61331f
commit c934693fce
+1
View File
@@ -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",