Merge pull request #226 from sp1rs/invalid-url-on-print-found-flag

Don't show invalid/error social site if --print-found flag is enabled.
This commit is contained in:
Siddharth Dushantha 2019-07-16 15:42:31 +02:00 committed by GitHub
commit 723ca405e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -349,7 +349,8 @@ def sherlock(username, site_data, verbose=False, tor=False, unique_tor=False, pr
exists = "no"
elif error_type == "":
print_invalid(social_network, "Error!")
if not print_found_only:
print_invalid(social_network, "Error!")
exists = "error"
# Save exists flag