The Broken Image Checker is a Python script that crawls a given website, checks all images on its pages, and identifies broken image links. The results are saved in a CSV report.
- β Crawls a website starting from a given URL.
- β Checks all images for broken links (404 errors, timeouts, etc.).
- β
Saves a detailed report of broken images, including:
- Page URL where the image was found.
- Image URL.
- HTTP status.
- Image's alt text (if available).
- Image location in the page.
- β Multi-threaded for fast processing.
- β Option to limit the number of pages to crawl.
- β
Creates a report in an
image_reports/directory.
Ensure you have Python installed (Python 3.6+ recommended). Install required dependencies using:
pip install requests beautifulsoup4Clone the repository:
git clone https://github.com/phpsmashcode/Broken-Image-Checker.git
Run the script with:
python broken-image-checker.py- πΉ Enter the website URL to check (including
http://orhttps://). - πΉ (Optional) Enter the maximum number of pages to crawl (leave blank for unlimited).
This project is licensed under the MIT License.
π Feel free to contribute! Fork the repository, make your changes, and submit a pull request.
Developed by Hariprasad Vijayan.
For issues or suggestions, open an issue on GitHub. π©