From 482f216ff99ac0ef8e9869d22c11e1a21643b68c Mon Sep 17 00:00:00 2001 From: Paul Pfeister Date: Wed, 10 Apr 2024 22:24:36 -0400 Subject: [PATCH] Fix Kongregate F+ Attempts were met with a Varnish error page presenting 54113 (possibly Fastly related). Change to User Agent necessary to avoid Varnish/Fastly issues. Change to Accept necessary to avoid infinite 302 redirection. Without BOTH of these changes, attempts will fail. Both changes being made also permit the use of status_code rather than message. --- sherlock/resources/data.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sherlock/resources/data.json b/sherlock/resources/data.json index 50c950a..1233795 100644 --- a/sherlock/resources/data.json +++ b/sherlock/resources/data.json @@ -1163,8 +1163,11 @@ "username_claimed": "blue" }, "Kongregate": { - "errorMsg": "Sorry, no account with that name was found.", - "errorType": "message", + "errorType": "status_code", + "headers": { + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0", + "Accept": "text/html" + }, "regexCheck": "^[a-zA-Z][a-zA-Z0-9_-]*$", "url": "https://www.kongregate.com/accounts/{}", "urlMain": "https://www.kongregate.com/",