mirror of
https://github.com/sherlock-project/sherlock
synced 2025-02-16 12:38:27 +00:00
Get rid of global variable amount. This is no longer used.
This commit is contained in:
parent
b1efe75eee
commit
2c2c6dd42f
1 changed files with 0 additions and 6 deletions
|
@ -27,7 +27,6 @@ from load_proxies import load_proxies_from_csv, check_proxy_list
|
|||
|
||||
module_name = "Sherlock: Find Usernames Across Social Networks"
|
||||
__version__ = "0.9.12"
|
||||
amount = 0
|
||||
|
||||
|
||||
global proxy_list
|
||||
|
@ -163,8 +162,6 @@ def sherlock(username, site_data, verbose=False, tor=False, unique_tor=False,
|
|||
response_text: Text that came back from request. May be None if
|
||||
there was an HTTP error when checking for existence.
|
||||
"""
|
||||
global amount
|
||||
|
||||
print_info("Checking username", username)
|
||||
|
||||
# Allow 1 thread for each external service, so `len(site_data)` threads total
|
||||
|
@ -313,7 +310,6 @@ def sherlock(username, site_data, verbose=False, tor=False, unique_tor=False,
|
|||
if not error in r.text:
|
||||
print_found(social_network, url, response_time, verbose)
|
||||
exists = "yes"
|
||||
amount = amount+1
|
||||
else:
|
||||
if not print_found_only:
|
||||
print_not_found(social_network, response_time, verbose)
|
||||
|
@ -324,7 +320,6 @@ def sherlock(username, site_data, verbose=False, tor=False, unique_tor=False,
|
|||
if not r.status_code >= 300 or r.status_code < 200:
|
||||
print_found(social_network, url, response_time, verbose)
|
||||
exists = "yes"
|
||||
amount = amount+1
|
||||
else:
|
||||
if not print_found_only:
|
||||
print_not_found(social_network, response_time, verbose)
|
||||
|
@ -340,7 +335,6 @@ def sherlock(username, site_data, verbose=False, tor=False, unique_tor=False,
|
|||
#
|
||||
print_found(social_network, url, response_time, verbose)
|
||||
exists = "yes"
|
||||
amount = amount+1
|
||||
else:
|
||||
if not print_found_only:
|
||||
print_not_found(social_network, response_time, verbose)
|
||||
|
|
Loading…
Add table
Reference in a new issue