From f641649be7f1b8b8914fb0e3ef5d6cf27748e9c0 Mon Sep 17 00:00:00 2001 From: Yahya SayadArbabi Date: Wed, 23 Jan 2019 23:02:35 +0330 Subject: [PATCH 1/5] Sort "sites.md" --- site_list.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site_list.py b/site_list.py index ff22320..8006f88 100644 --- a/site_list.py +++ b/site_list.py @@ -3,6 +3,7 @@ This module generates the listing of supported sites. """ import json +from collections import OrderedDict with open("data.json", "r", encoding="utf-8") as data_file: data = json.load(data_file) @@ -16,7 +17,7 @@ with open("sites.md", "w") as site_file: site_file.write(f'## List Of Supported Sites ({len(data)} Sites In Total!)\n') index = 1 - for social_network in data: + for social_network in OrderedDict(sorted(data.items())): url_main = data.get(social_network).get("urlMain") site_file.write(f'{index}. [{social_network}]({url_main})\n') index = index + 1 From 7a93f73b238d9b6850a159dbe36bb45fd199efc1 Mon Sep 17 00:00:00 2001 From: Yahya SayadArbabi Date: Wed, 23 Jan 2019 23:03:01 +0330 Subject: [PATCH 2/5] bump version --- sherlock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sherlock.py b/sherlock.py index 278d168..9b35cd8 100644 --- a/sherlock.py +++ b/sherlock.py @@ -24,7 +24,7 @@ from requests_futures.sessions import FuturesSession from torrequest import TorRequest module_name = "Sherlock: Find Usernames Across Social Networks" -__version__ = "0.4.0" +__version__ = "0.4.1" amount = 0 BANNER = r''' From 4e113645087dd0a7a341ad0d7794937d854ea60f Mon Sep 17 00:00:00 2001 From: Czechball Date: Wed, 23 Jan 2019 22:23:05 +0100 Subject: [PATCH 3/5] Updated asciinema --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8bb3ad5..6ac9b39 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ > Find usernames across [social networks](https://github.com/theyahya/sherlock/blob/master/sites.md)

- - + +

From b237b8fe02fe22ee8e9d54e134045e7b03f9007b Mon Sep 17 00:00:00 2001 From: "Christopher K. Hoadley" Date: Wed, 23 Jan 2019 19:13:09 -0600 Subject: [PATCH 4/5] Problems with false positives on EyeEm/CreativeMarket/EVE Online. Add these sites to the tests to capture failure. --- tests/all.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/all.py b/tests/all.py index 3d06281..c486c60 100644 --- a/tests/all.py +++ b/tests/all.py @@ -111,7 +111,8 @@ class SherlockSiteCoverageTests(SherlockBaseTest): self.username_check(['noonewouldeverusethis7'], ["Pinterest", "iMGSRC.RU", "Pastebin", - "WordPress", "devRant", "ImageShack", "MeetMe" + "WordPress", "devRant", "ImageShack", "MeetMe", + "EyeEm", "CreativeMarket", "EVE Online" ], exist_check=False ) @@ -134,7 +135,8 @@ class SherlockSiteCoverageTests(SherlockBaseTest): self.username_check(['blue'], ["Pinterest", "iMGSRC.RU", "Pastebin", - "WordPress", "devRant", "ImageShack", "MeetMe" + "WordPress", "devRant", "ImageShack", "MeetMe", + "EyeEm", "CreativeMarket", "EVE Online" ], exist_check=True ) From 0709fd39470e7d1509d96c96310c360828b987e1 Mon Sep 17 00:00:00 2001 From: "Christopher K. Hoadley" Date: Wed, 23 Jan 2019 19:16:55 -0600 Subject: [PATCH 5/5] Change EyeEm/CreativeMarket/EVE Online detection method to use the newly refurbished "response_url" detection method. --- data.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/data.json b/data.json index 8441297..94e7707 100644 --- a/data.json +++ b/data.json @@ -153,7 +153,8 @@ "urlMain": "https://coroflot.com/" }, "CreativeMarket": { - "errorType": "status_code", + "errorType": "response_url", + "errorUrl": "https://www.creativemarket.com/", "url": "https://creativemarket.com/{}", "urlMain": "https://creativemarket.com/" }, @@ -197,9 +198,9 @@ "urlMain": "https://dribbble.com/" }, "EVE Online": { - "errorMsg": "No results found with your search...", - "errorType": "message", - "url": "https://evewho.com/search/{}", + "errorType": "response_url", + "errorUrl": "https://eveonline.com", + "url": "https://evewho.com/pilot/{}/", "urlMain": "https://eveonline.com" }, "Ebay": { @@ -220,7 +221,8 @@ "urlMain": "https://www.etsy.com/" }, "EyeEm": { - "errorType": "status_code", + "errorType": "response_url", + "errorUrl": "https://www.eyeem.com/", "url": "https://www.eyeem.com/u/{}", "urlMain": "https://www.eyeem.com/" },