diff --git a/sherlock_project/resources/data.json b/sherlock_project/resources/data.json index 28a4140f..72411b08 100644 --- a/sherlock_project/resources/data.json +++ b/sherlock_project/resources/data.json @@ -694,9 +694,7 @@ "Duolingo": { "errorMsg": "{\"users\":[]}", "errorType": "message", - "headers": { - "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0" - }, + "url": "https://www.duolingo.com/profile/{}", "urlMain": "https://duolingo.com/", "urlProbe": "https://www.duolingo.com/2017-06-30/users?username={}", @@ -780,6 +778,10 @@ "Fiverr": { "errorMsg": "\"status\":\"success\"", "errorType": "message", + "headers": { + "Content-Type": "application/json", + "Accept-Language": "en-US,en;q=0.9" + }, "regexCheck": "^[A-Za-z][A-Za-z\\d_]{5,14}$", "request_method": "POST", "request_payload": { @@ -1020,7 +1022,7 @@ "username_claimed": "adam" }, "HackenProof (Hackers)": { - "errorMsg": "
Error: This user doesn't exist
", "errorType": "message", + "headers": { + "Cookie": "LTAnonSessionID=3159599315; LTUnifiedCookie=%7B%22areyouhuman%22%3A1%7D; " + }, "url": "https://www.librarything.com/profile/{}", "urlMain": "https://www.librarything.com/", "username_claimed": "blue" }, "Lichess": { - "errorMsg": "Page not found!", - "errorType": "message", + "errorType": "status_code", "url": "https://lichess.org/@/{}", "urlMain": "https://lichess.org", - "username_claimed": "blue" + "username_claimed": "john" }, "LinkedIn": { "errorType": "status_code", - "headers": { - "User-Agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/W.X.Y.Z Safari/537.36" - }, + "regexCheck": "^[a-zA-Z0-9]{3,100}$", "request_method": "GET", "url": "https://linkedin.com/in/{}", @@ -1993,9 +1992,7 @@ }, "Spotify": { "errorType": "status_code", - "headers": { - "user-agent": "PostmanRuntime/7.29.2" - }, + "url": "https://open.spotify.com/user/{}", "urlMain": "https://open.spotify.com/", "username_claimed": "blue" @@ -2254,7 +2251,8 @@ "username_claimed": "jenny" }, "Vero": { - "errorType": "status_code", + "errorMsg": "Not Found", + "errorType": "message", "request_method": "GET", "url": "https://vero.co/{}", "urlMain": "https://vero.co/", @@ -2430,9 +2428,7 @@ }, "YouTube": { "errorType": "status_code", - "headers": { - "User-Agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/W.X.Y.Z Safari/537.36" - }, + "url": "https://www.youtube.com/@{}", "urlMain": "https://www.youtube.com/", "username_claimed": "youtube" @@ -2858,4 +2854,4 @@ "urlMain": "https://znanylekarz.pl", "username_claimed": "janusz-nowak" } -} +} \ No newline at end of file diff --git a/sherlock_project/sherlock.py b/sherlock_project/sherlock.py index 330dae36..996a9d63 100644 --- a/sherlock_project/sherlock.py +++ b/sherlock_project/sherlock.py @@ -262,7 +262,7 @@ def sherlock( # A user agent is needed because some sites don't return the correct # information since they think that we are bots (Which we actually are...) headers = { - "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0", } if "headers" in net_info: