From 8090a96c5788108258276a7894ea162c6ca5e4b8 Mon Sep 17 00:00:00 2001 From: "Christopher K. Hoadley" Date: Mon, 31 Dec 2018 06:08:20 -0600 Subject: [PATCH] Fix merge problem in pull request #43. Previously, there was just one for loop that iterated thru all of the sites. But, with the addition of the parallel functionality, there are now two for loops. The dictionary changes were not done in the second loop, which caused bogus results. --- sherlock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sherlock.py b/sherlock.py index f59d28b..ec6a519 100644 --- a/sherlock.py +++ b/sherlock.py @@ -143,7 +143,7 @@ def sherlock(username, verbose=False, tor=False, unique_tor=False): results_total[social_network] = results_site # Core logic: If tor requests, make them here. If multi-threaded requests, wait for responses - for social_network in data: + for social_network, net_info in data.items(): # Retrieve results again results_site = results_total.get(social_network)