Skip to content

Incredibly fast crawler designed for OSINT.

Update photon.py

Somdev Sangwan71d45c44008a
diff --git a/photon.py b/photon.py
index 00ba342..02a9975 100644
--- a/photon.py
+++ b/photon.py
@@ -23,13 +23,7 @@ from core.updater import updater
from core.utils import top_level, extract_headers, verb, is_link, entropy, regxy, remove_regex, timer, writer
from core.zap import zap
-try:
- from urllib.parse import urlparse # For Python 3
- python2, python3 = False, True
-except ImportError:
- from urlparse import urlparse # For Python 2
- python2, python3 = True, False
-
+from urllib.parse import urlparse # For Python 3
try:
input = raw_input