/goodread-webscraper

Primary LanguagePythonMIT LicenseMIT

Goodreads Webscraper

License: MIT

goodreads python script to collect book data

Screen Shot 2022-04-27 at 7 55 09 PM

Setup

git clone https://github.com/KingAzizz/goodread-webscraper.git

&

cd goodread-webscraper

What You Need

To run these scripts, you will need Python 3.

You can install these Python libraries by running

pip install -r requirements.txt

book.py

Input

This script takes as input a book's URL. For example, the book url for Red Queen (https://www.goodreads.com/book/show/22328546-red-queen?from_search=true&from_srp=true&qid=Fli1luHo0z&rank=1) is Red Queen.

Output

This script outputs a CSV file for each book with the following information:

  • Book Title
  • Author Name
  • Book Image Url
  • Number of Pages
  • Book Description
  • Genre
  • Published Date
  • Rating
  • Rating Count
  • Review Count
  • ISBN
  • ISBN13

Usage

python3 book.py

Credit

This code is written by Abdulaziz Alsunaydi. The code is licensed under a MIT.