From 5792f32c23c4c32c3b1648203d595699ff13f71e Mon Sep 17 00:00:00 2001 From: Stanley Date: Thu, 16 Oct 2025 01:00:40 +0100 Subject: [PATCH 1/2] Fix: Instagram detection by switching from status_code to message method --- sherlock_project/resources/data.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/sherlock_project/resources/data.json b/sherlock_project/resources/data.json index 96146f07c..c235fc9f5 100644 --- a/sherlock_project/resources/data.json +++ b/sherlock_project/resources/data.json @@ -1245,11 +1245,14 @@ "username_claimed": "blue" }, "Instagram": { - "errorType": "status_code", - "url": "https://instagram.com/{}", - "urlMain": "https://instagram.com/", - "urlProbe": "https://imginn.com/{}", - "username_claimed": "instagram" + "errorType": "message", + "errorMsg": "Instagram", + "url": "https://www.instagram.com/{}/", + "urlMain": "https://www.instagram.com/", + "username_claimed": "instagram", + "headers": { + "User-Agent": "python-requests/2.32.3" + } }, "Instapaper": { "errorType": "status_code", @@ -1285,7 +1288,7 @@ "url": "https://issuu.com/{}", "urlMain": "https://issuu.com/", "username_claimed": "jenny" - }, + }, "Itch.io": { "errorType": "status_code", "regexCheck": "^[\\w@-]+?$", From d8f3b9d6eab5d3875a6df57c5bb20922984a7acd Mon Sep 17 00:00:00 2001 From: Stanley Date: Thu, 16 Oct 2025 01:11:47 +0100 Subject: [PATCH 2/2] chore: ignore .python-version file --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 59ab51341..39c2918a2 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,4 @@ tests/.excluded_sites # Vim swap files *.swp +.python-version