Goodreads Scraper
Try for free
3 days trial then $15.00/month - No credit card required now
View all Actors
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
1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7 "search": "harry potter",
8 "startUrls": [
9 "https://www.goodreads.com/search?q=game+of+thrones&qid=",
10 "https://www.goodreads.com/book/show/59576065-acceptance",
11 "https://www.goodreads.com/list/show/1362.Best_History_Books_",
12 "https://www.goodreads.com/shelf/show/fiction",
13 "https://www.goodreads.com/genres/business",
14 "https://www.goodreads.com/author/list/1221698.Neil_Gaiman"
15 ],
16 "maxItems": 1,
17 "endPage": 1,
18 "extendOutputFunction": "($) => { return {} }",
19 "customMapFunction": "(object) => { return {...object} }",
20 "proxy": {
21 "useApifyProxy": true,
22 "apifyProxyGroups": [
23 "RESIDENTIAL"
24 ]
25 }
26}
27EOF
28
29# Run the Actor using an HTTP API
30# See the full API reference at https://docs.apify.com/api/v2
31curl "https://api.apify.com/v2/acts/epctex~goodreads-scraper/runs?token=$API_TOKEN" \
32 -X POST \
33 -d @input.json \
34 -H 'Content-Type: application/json'
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 11 hours ago
Categories