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.

CH

Not working in pph

Closed

complex_hat opened this issue
9 months 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

9 months 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)

9 months 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
  • 5 monthly users
  • 2 stars
  • 100.0% runs succeeded
  • Created in Mar 2021
  • Modified about 10 hours ago