This Python script performs SEO analysis on images within a webpage. It extracts valuable information such as alt text, image size, dimensions, and file names. The generated HTML report provides insights into the SEO aspects of images, aiding in optimizing web content for search engines.
- Extracts alt text from images.
- Retrieves and displays image size in human-readable format.
- Determines image dimensions for comprehensive analysis.
- Includes image file names for reference.
- Generates an HTML report summarizing the SEO analysis.
-
Clone the Repository:
git clone https://github.com/your-username/seo-image-analysis.git
-
Run the Script:
python seo_image_analysis.py https://example.com
Replace
https://example.com
with the target webpage URL. -
View the HTML Report: Open the generated HTML report in your preferred web browser.
Contributions are welcome! If you have suggestions, enhancements, or bug reports, feel free to create an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.