An open API service indexing awesome lists of open source software.

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.

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