Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sherlock_project/sherlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ def response_time(resp, *args, **kwargs):
def get_response(request_future, error_type, social_network):
# Default for Response object if some failure occurs.
response = None
"""
Waits for an asynchronous HTTP request to complete and returns the response.
Handles timeouts and connection errors safely.
"""

error_context = "General Unknown Error"
exception_text = None
Expand Down
1 change: 1 addition & 0 deletions sherlock_project/sites.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import secrets



MANIFEST_URL = "https://raw.githubusercontent.com/sherlock-project/sherlock/master/sherlock_project/resources/data.json"
EXCLUSIONS_URL = "https://raw.githubusercontent.com/sherlock-project/sherlock/refs/heads/exclusions/false_positive_exclusions.txt"

Expand Down