diff --git a/sherlock_project/sherlock.py b/sherlock_project/sherlock.py index 75b3e3d70..7158c30f0 100644 --- a/sherlock_project/sherlock.py +++ b/sherlock_project/sherlock.py @@ -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 diff --git a/sherlock_project/sites.py b/sherlock_project/sites.py index b7aaf4c58..1154a4692 100644 --- a/sherlock_project/sites.py +++ b/sherlock_project/sites.py @@ -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"