A lightweight and efficient Python script that scans a given website URL and automatically downloads all the images present on that page into a local directory.
- Automated Downloading: Fetches all images (e.g.,
.jpg,.png,.webp,.gif) from a specified webpage. - Path Resolution: Automatically detects and handles both absolute and relative image URLs.
- Organized Storage: Saves all downloaded images into a dedicated, automatically generated folder to keep your workspace clean.
Before you begin, ensure you have Python 3.x installed on your system. You will also need to install the required external libraries.
(Note: Update these if you are using different libraries like Selenium or Scrapy)
requestsbeautifulsoup4
- Clone this repository or download the source code to your local machine:
git clone [https://github.com/yourusername/web-image-scraper.git](https://github.com/yourusername/web-image-scraper.git) cd web-image-scraper