Merge branch 'masta2898/master'

pull/98/head^2
Yahya SayadArbabi 5 years ago
commit 18ee78f9e0

@ -149,11 +149,11 @@ def sherlock(username, site_data, verbose=False, tor=False, unique_tor=False):
url = net_info["url"].format(username)
results_site["url_user"] = url
# If only the status_code is needed don't download the body
if net_info["errorType"] == 'status_code':
request_method = session.head
else:
request_method = session.get
request_method = session.get
if social_network != "GitHub":
# If only the status_code is needed don't download the body
if net_info["errorType"] == 'status_code':
request_method = session.head
# This future starts running the request in a new thread, doesn't block the main thread
future = request_method(url=url, headers=headers)
@ -407,4 +407,4 @@ def main():
)
if __name__ == "__main__":
main()
main()
Loading…
Cancel
Save