/goodreads-quote-scraper

Scrapes quotes from goodreads author pages.

Primary LanguageJavaScript

Goodreads Quote Scraper

Scrapes the specified author's quotes and saves the quote text, author, source and tags to a mongo database.

Object Structure

Quote {
text: String,
author: String,
source: String,
tags: Array
}

Set up

  1. Clone repo: git clone https://github.com/tintindas/goodreads-quote-scraper.git
  2. Navigate into directory: cd goodreads-quote-scraper
  3. Install dependencies: npm install
  4. Replace the database link in L#23 of db.js with your own.

How to Use

  1. npm start
  2. Provide name of author when prompted (required)
  3. Provide number of pages to scrape (optional, default: 5)