Skip to content

Incredibly fast crawler designed for OSINT.

potentially fixes #111, #112

Somdev Sangwan600ef78067a9
diff --git a/core/flash.py b/core/flash.py
index cbaa22c..aa801b2 100644
--- a/core/flash.py
+++ b/core/flash.py
@@ -1,12 +1,13 @@
from __future__ import print_function
import sys
+import threading
from core.colors import info
try:
import concurrent.futures
except ImportError:
- import threading
+ pass
def threader(function, *urls):
"""Start multiple threads for a function."""
@@ -50,4 +51,4 @@ def flash(function, links, thread_count):
if i + 1 == len(links) or (i + 1) % thread_count == 0:
print('%s Progress: %i/%i' % (info, i + 1, len(links)),
end='\r')
- print('')
\ No newline at end of file
+ print('')