Skip to content

Commit

Permalink
Fix Kongregate F+
Browse files Browse the repository at this point in the history
Attempts to reach were met with a Varnish error page presenting 54113.
Whether this error was due to Varnish or Fastly is unkown but irrelevant.

Change in User Agent necessary to avoid the Varnish error page.
Change in Accept necessary to avoid inifite 302 redirections.
Without BOTH of these changes, the attempt will fail.

With these changes, also able to switch to the simpler status_code method.
  • Loading branch information
ppfeister committed Apr 11, 2024
1 parent 4006556 commit ba964b3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sherlock/resources/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
Expand Down

0 comments on commit ba964b3

Please sign in to comment.