Skip to content

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.

License

Notifications You must be signed in to change notification settings

Magnus0969/Image-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖼 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

git clone https://github.com/Magnus0969/Image-Scraper.git
cd Image-Scraper

2️⃣ Install Dependencies

pip install -r requirements.txt

3️⃣ Run the Scraper

To scrape images from a website:

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.


Made with ❤️ by Karthik B Magadi

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published