Skip to content

Hunt down social media accounts by username across social networks

Fix Python 3.9 compatibility for PEP 604 union annotations

Viralify3718c826d502
diff --git a/sherlock_project/sherlock.py b/sherlock_project/sherlock.py
index e037d394..112f1219 100644
--- a/sherlock_project/sherlock.py
+++ b/sherlock_project/sherlock.py
@@ -7,6 +7,8 @@ This module contains the main logic to search for usernames at social
networks.
"""
+from __future__ import annotations
+
import sys
try:
diff --git a/sherlock_project/sites.py b/sherlock_project/sites.py
index c42554ba..6706db2f 100644
--- a/sherlock_project/sites.py
+++ b/sherlock_project/sites.py
@@ -3,6 +3,8 @@
This module supports storing information about websites.
This is the raw data that will be used to search for usernames.
"""
+from __future__ import annotations
+
import json
import requests
import secrets