|
|
@ -225,11 +225,11 @@ def sherlock(username, site_data, verbose=False, tor=False, unique_tor=False,
|
|
|
|
# from where the user profile normally can be found.
|
|
|
|
# from where the user profile normally can be found.
|
|
|
|
url_probe = url_probe.format(username)
|
|
|
|
url_probe = url_probe.format(username)
|
|
|
|
|
|
|
|
|
|
|
|
request_method = session.get
|
|
|
|
#If only the status_code is needed don't download the body
|
|
|
|
if social_network != "GitHub":
|
|
|
|
if net_info["errorType"] == 'status_code':
|
|
|
|
# If only the status_code is needed don't download the body
|
|
|
|
request_method = session.head
|
|
|
|
if net_info["errorType"] == 'status_code':
|
|
|
|
else:
|
|
|
|
request_method = session.head
|
|
|
|
request_method = session.get
|
|
|
|
|
|
|
|
|
|
|
|
if net_info["errorType"] == "response_url":
|
|
|
|
if net_info["errorType"] == "response_url":
|
|
|
|
# Site forwards request to a different URL if username not
|
|
|
|
# Site forwards request to a different URL if username not
|
|
|
|