Skip to content

Incredibly fast crawler designed for OSINT.

fix flash show progress

stefanofa578e82e51b
diff --git a/photon.py b/photon.py
index cd33547..6868f7a 100644
--- a/photon.py
+++ b/photon.py
@@ -337,7 +337,7 @@ def flash(function, links): # This shit is NOT complicated, please enjoy
end = begin + thread_count
splitted = links[begin:end]
threader(function, splitted)
- progress = begin
+ progress = end
if progress > len(links): # fix if overflow
progress = len(links)
sys.stdout.write('\r%s Progress: %i/%i' % (info, progress, len(links)))