Goodreads Scraper avatar

Goodreads Scraper

Try for free

3 days trial then $15.00/month - No credit card required now

View all Actors
Goodreads Scraper

Goodreads Scraper

epctex/goodreads-scraper
Try for free

3 days trial then $15.00/month - No credit card required now

Scrape goodreads.com for data on millions of books. Crawl book details for images, ISBN, author, description, title, buy links, number of reviews, page number, language, and all other details. You can specify search terms, filters, and much more.

You can access the Goodreads Scraper programmatically from your own Python applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4# Replace '<YOUR_API_TOKEN>' with your token.
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7# Prepare the Actor input
8run_input = {
9    "search": "harry potter",
10    "startUrls": [
11        "https://www.goodreads.com/search?q=game+of+thrones&qid=",
12        "https://www.goodreads.com/book/show/59576065-acceptance",
13        "https://www.goodreads.com/list/show/1362.Best_History_Books_",
14        "https://www.goodreads.com/shelf/show/fiction",
15        "https://www.goodreads.com/genres/business",
16        "https://www.goodreads.com/author/list/1221698.Neil_Gaiman",
17    ],
18    "maxItems": 1,
19    "endPage": 1,
20    "extendOutputFunction": "($) => { return {} }",
21    "customMapFunction": "(object) => { return {...object} }",
22    "proxy": {
23        "useApifyProxy": True,
24        "apifyProxyGroups": ["RESIDENTIAL"],
25    },
26}
27
28# Run the Actor and wait for it to finish
29run = client.actor("epctex/goodreads-scraper").call(run_input=run_input)
30
31# Fetch and print Actor results from the run's dataset (if there are any)
32print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
33for item in client.dataset(run["defaultDatasetId"]).iterate_items():
34    print(item)
35
36# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

Goodreads Scraper 📚 API in Python

The Apify API client for Python is the official library that allows you to use Goodreads Scraper API in Python, providing convenience functions and automatic retries on errors.

Install the apify-client

pip install apify-client

Other API clients include:

Developer
Maintained by Community
Actor metrics
  • 4 monthly users
  • 3 stars
  • 100.0% runs succeeded
  • 19 hours response time
  • Created in Mar 2021
  • Modified about 8 hours ago