https://github.com/magnus0969/image-scraper
A Python-based web scraper that extracts and downloads images from websites using BeautifulSoup, Requests, and Chrome Driver. The images are filtered, stored locally, and managed efficiently for further use.
https://github.com/magnus0969/image-scraper
automated-web-scraper beautifulsoup4 chrome-driver data-science requests-library-python web-scraping
Last synced: 29 days ago
JSON representation
A Python-based web scraper that extracts and downloads images from websites using BeautifulSoup, Requests, and Chrome Driver. The images are filtered, stored locally, and managed efficiently for further use.
- Host: GitHub
- URL: https://github.com/magnus0969/image-scraper
- Owner: Magnus0969
- License: mit
- Created: 2025-03-08T14:55:33.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-08T15:02:12.000Z (8 months ago)
- Last Synced: 2025-10-08T21:38:46.804Z (29 days ago)
- Topics: automated-web-scraper, beautifulsoup4, chrome-driver, data-science, requests-library-python, web-scraping
- Language: Jupyter Notebook
- Homepage:
- Size: 72.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🖼 Image Scraper
## 📌 Overview
This project is an **Image Scraper** that extracts images from websites using **BeautifulSoup**, **Requests**, **Chrome Driver**, and **OS**. The scraper downloads images from a given URL and saves them locally for further use.
## 🛠 Technologies Used
- **Python** 🐍
- **BeautifulSoup** 🌐 (for parsing HTML)
- **Requests** 📡 (for making HTTP requests)
- **OS** 📂 (for managing file storage)
## 📈 Key Features
- Scrapes images from a given website URL.
- Filters images based on file formats (JPG, PNG, etc.).
- Saves images in a specified local directory.
- Handles exceptions and prevents duplicate downloads.
## 🚀 Getting Started
### 1️⃣ Clone the Repository
```bash
git clone https://github.com/Magnus0969/Image-Scraper.git
cd Image-Scraper
```
### 2️⃣ Install Dependencies
```bash
pip install -r requirements.txt
```
### 3️⃣ Run the Scraper
To scrape images from a website:
```bash
python scrape_images.py "https://stock-pictures.netlify.app"
```
## 📂 Output
- Downloaded images are saved in the `imgs/` directory.
## 📝 Example Usage
```
Fetching images from https://example.com
Saving images to /imgs/
Total images downloaded: 20
```
## 📬 Contact
For any questions or collaborations, feel free to reach out on **[LinkedIn](https://www.linkedin.com/in/kmagadi/)**.
---
Made with ❤️ by Karthik B Magadi