Incredibly fast crawler designed for OSINT.
RE: Adding code to detect and report broken links.
sneh-m1d720ff9badc
diff --git a/photon.py b/photon.pyindex 4ee2f1c..555b9fa 100644--- a/photon.py+++ b/photon.py@@ -171,7 +171,7 @@ def requester(url):#check if link is not brokenif(response.status_code == codes.ok):- return response.text; # return response body+ return response.text # return response bodyelse:failed.add(url) # add it to the failed list@@ -181,7 +181,7 @@ def requester(url):#check if link is not brokenif(response.status_code == codes.ok):- return response.text; # return response body+ return response.text # return response bodyelse:failed.add(url) # add it to the failed list