From fb572d927c988d0caeeb14a83e39f6512492a4fe Mon Sep 17 00:00:00 2001 From: Siddharth Dushantha Date: Thu, 6 Aug 2020 09:49:53 +0200 Subject: [PATCH] added regex checking for 500px The criteria for the the 500px usernames was found my looking at the packages when signing up. If it was an invalid username, the request return this error: https://i.imgur.com/JS5PVMz.png --- sherlock/resources/data.json | 1 + 1 file changed, 1 insertion(+) diff --git a/sherlock/resources/data.json b/sherlock/resources/data.json index 8f4345f..f460b53 100644 --- a/sherlock/resources/data.json +++ b/sherlock/resources/data.json @@ -50,6 +50,7 @@ "errorMsg": "Oops! This page doesn\u2019t exist.", "errorType": "message", "rank": 3453, + "regexCheck":"^[a-z0-9_]$", "url": "https://500px.com/{}", "urlMain": "https://500px.com/", "username_claimed": "blue",