RobotScraper is an open-source tool designed to scrape and analyze the robots.txt
file of a specified domain. This Python script helps in identifying directories and pages that are allowed or disallowed by the robots.txt
file and can save the results if needed. It is useful for web security researchers, SEO analysts, and anyone interested in examining the structure and access rules of a website.
- Python 3.x
requests
packagebeautifulsoup4
package
-
Clone the repository:
git clone https://github.com/robotshell/robotScraper cd robotScraper
-
Install the required Python packages:
pip install requests beautifulsoup4
To run the RobotScraper, you can use the following command syntax:
python robotScraper.py domain [-s output.txt]
This tool is intended for educational and research purposes only. The author and contributors are not responsible for any misuse of this tool. Users are advised to use this tool responsibly and only on systems for which they have explicit permission. Unauthorized access to systems, networks, or data is illegal and unethical. Always obtain proper authorization before conducting any kind of activities that could impact other users or systems.