Skip to content

Incredibly fast crawler designed for OSINT.

Fixed issue with robots.txt file generation

0xd0ugf4cefb5df85a
diff --git a/photon.py b/photon.py
index 6868f7a..3c4cfb4 100644
--- a/photon.py
+++ b/photon.py
@@ -401,7 +401,7 @@ with open('%s/intel.txt' % name, 'w+') as f:
f.write(str(x.encode('utf-8')) + '\n')
with open('%s/robots.txt' % name, 'w+') as f:
- for x in storage:
+ for x in robots:
f.write(str(x.encode('utf-8')) + '\n')
with open('%s/failed.txt' % name, 'w+') as f: