- "URL Inspector" is a Python CLI tool for monitoring website data, including status code, title, JS files, and content length.
- It allows users to add, remove, and view URL data in a simple and convenient way.
- Clone the repository:
git clone https://github.com/H3lllfir3/URLInspector.git
cd URLInspector
- Sending Notifications:
- Users can enable notifications for important events by setting up a Discord webhook URL.
# Put the webhook URL in src/inspector/config.py as follows:
DISCORD_WEBHOOK_URL = "your_webhook_url_here"
- Install the CLI globally:
pip3 install -r requirements.txt
python3 setup.py install
- The script runs automatically every 1 hour.
To add URL data, use the following command:
inspector add -u <url> [options]
Available options:
-status-code
: Include status code.-title
: Include title.-js
: Include JS files.-content-length
: Include content length.
Examples:
inspector add -u domain.tld -content-length
inspector add -u domain.tld -title
inspector add -u domain.tld -status-code -js
To remove URL data, use the following command:
inspector remove -u domain.tld
To view the logs, use the following command:
inspector -logs
To view all URL records, use the following command:
inspector -subs
- Contributions are welcome! Users can open issues or submit pull requests for bug fixes or improvements.
- This project is licensed under the MIT License, allowing free use, modification, and distribution for personal and commercial purposes.