![Goodreads Scraper avatar](https://images.apifyusercontent.com/S-pwdxChCcydvbtK7fsV8cQaMq8tI0JsQ1xK7ut4L3g/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9zazFKc0RtYmRlclV3MEo3OS9HdWZhNkRhMnpIc1l6VGFvZi0xNDU0NTQ5MTYwLTE0NTQ1NDkxNjBfZ29vZHJlYWRzX21pc2MucG5n.webp)
Goodreads Scraper
Try for free
3 days trial then $15.00/month - No credit card required now
View all Actors![Goodreads Scraper](https://images.apifyusercontent.com/S-pwdxChCcydvbtK7fsV8cQaMq8tI0JsQ1xK7ut4L3g/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9zazFKc0RtYmRlclV3MEo3OS9HdWZhNkRhMnpIc1l6VGFvZi0xNDU0NTQ5MTYwLTE0NTQ1NDkxNjBfZ29vZHJlYWRzX21pc2MucG5n.webp)
![Goodreads Scraper](https://images.apifyusercontent.com/S-pwdxChCcydvbtK7fsV8cQaMq8tI0JsQ1xK7ut4L3g/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9zazFKc0RtYmRlclV3MEo3OS9HdWZhNkRhMnpIc1l6VGFvZi0xNDU0NTQ5MTYwLTE0NTQ1NDkxNjBfZ29vZHJlYWRzX21pc2MucG5n.webp)
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.
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8 "search": "harry potter",
9 "startUrls": [
10 "https://www.goodreads.com/search?q=game+of+thrones&qid=",
11 "https://www.goodreads.com/book/show/59576065-acceptance",
12 "https://www.goodreads.com/list/show/1362.Best_History_Books_",
13 "https://www.goodreads.com/shelf/show/fiction",
14 "https://www.goodreads.com/genres/business",
15 "https://www.goodreads.com/author/list/1221698.Neil_Gaiman",
16 ],
17 "maxItems": 1,
18 "endPage": 1,
19 "extendOutputFunction": "($) => { return {} }",
20 "customMapFunction": "(object) => { return {...object} }",
21 "proxy": {
22 "useApifyProxy": True,
23 "apifyProxyGroups": ["RESIDENTIAL"],
24 },
25}
26
27# Run the Actor and wait for it to finish
28run = client.actor("epctex/goodreads-scraper").call(run_input=run_input)
29
30# Fetch and print Actor results from the run's dataset (if there are any)
31print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
32for item in client.dataset(run["defaultDatasetId"]).iterate_items():
33 print(item)
34
35# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
- 5 monthly users
- 3 stars
- 99.0% runs succeeded
- 19 hours response time
- Created in Mar 2021
- Modified about 24 hours ago
Categories