Goodreads Scraper avatar

Goodreads Scraper

Try for free

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

Go to Store
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.

CH

Not working in pph

Closed

complex_hat opened this issue
a year ago

$apiToken = env('API_TOKEN');

1$response = Http::withToken($apiToken)->withHeaders(['Content-Type' => 'application/json'])
2            ->post('https://api.apify.com/v2/acts/sk1JsDmbderUw0J79/runs',[
3               
4                "includeReviews" => true,
5                "startUrls" => [$productId],
6                "maxItems" => 1,
7                "endPage" => 1,
8                "extendOutputFunction" => "($) => { return {} }",
9                "customMapFunction" => "(object) => { return {...object} }",
10                "proxy" => [
11                    "useApifyProxy" => true,
12                    "apifyProxyGroups" => ["RESIDENTIAL"]
13                ],
14                'query' => [ 'timeout' => 30,
15                'offset' => 20,
16                'limit' => 20 ],
17                ]);
18         dd($response->json());
CH

complex_hat

a year ago

array:1 [▼ "data" => array:18 [▼ "id" => "2spLB8kQPheYrXv7E" "actId" => "sk1JsDmbderUw0J79" "userId" => "pAByDFQ5ayroRfLm9" "startedAt" => "2023-10-20T05:01:24.573Z" "finishedAt" => null "status" => "READY" "meta" => array:2 [▶] "stats" => array:5 [▶] "options" => array:4 [▶] "buildId" => "sX2NMWK7pv9Jaz8No" "defaultKeyValueStoreId" => "1CuMT0ge5bj3jTlVq" "defaultDatasetId" => "e8ZWyFxfN2U89WaX5" "defaultRequestQueueId" => "ibpR4D6BLrcHg8HJu" "buildNumber" => "0.0.638" "containerUrl" => "https://ngpbfxskv7sg.runs.apify.net" "usage" => array:12 [▶] "usageTotalUsd" => 5.0E-5 "usageUsd" => array:12 [▶] ] ] output of above

epctex avatar

epctex (epctex)

a year ago

Hey there,

Thank you very much for using the actor! As far as I see from the output, the actor actually worked and put a result on the dataset. As actor publishers, creating and maintaining actors is the only place that we have the information. The internal Apify API mechanics is something that is out of our hands. I strongly suggest you take a look at the Apify documentation (https://docs.apify.com/api/v2) or reach out via Discord or Support.

Please let me know if there is anything else that I can support you with. Best

Developer
Maintained by Community

Actor Metrics

  • 13 monthly users

  • 4 stars

  • 97% runs succeeded

  • 11 hours response time

  • Created in Mar 2021

  • Modified 6 hours ago