Skip to content

Latest commit

 

History

History
56 lines (32 loc) · 769 Bytes

File metadata and controls

56 lines (32 loc) · 769 Bytes

Quotes Scraper

This is a Python web scraping project that extracts quotes, authors, and tags from the website:

https://quotes.toscrape.com

The script collects the data and saves it into a CSV file.


Features

  • Extracts quote text
  • Extracts author names
  • Extracts tags
  • Stores data in CSV format
  • Uses Requests and BeautifulSoup

Tools Used

  • Python
  • Requests
  • BeautifulSoup
  • CSV Module

Output

The script generates a CSV file:

quotes_to_scrape.csv

Example output:

Quote | Author | Tags


How to Run

Install required libraries:

pip install requests beautifulsoup4

Run the script:

python quotes_scraper.py


Project Purpose

This project was created as part of learning Python web scraping and data extraction.