Skip to content

Repository files navigation

Goodreads Quote Scraper

A Python web scraper that extracts quotes from Goodreads and saves them to CSV format.

Features

  • Scrapes quotes from Goodreads author pages
  • Extracts quote text, author, and tags
  • Exports to CSV format
  • Uses Playwright for dynamic content loading

Requirements

  • Python 3.12+
  • uv (recommended) or pip

Installation

Using UV (recommended)

uv sync

Using pip

pip install -r requirements.txt

Usage

uv run main.py

Or with Python directly:

python main.py

Output

Creates quotes.csv with the following columns:

  • quote: The quote text
  • author: The quote author
  • tags: Comma-separated tags

Project Structure

.
├── main.py           # Main scraper script
├── pyproject.toml   # Project configuration
├── README.md        # This file
└── .gitignore       # Git ignore patterns

License

MIT License - see LICENSE for details.

About

Scrapes quotes from goodreads.com/quotes and saves to CSV.

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages