Contact Details Scraper avatar
Contact Details Scraper
Try for free

No credit card required

View all Actors
Contact Details Scraper

Contact Details Scraper

vdrmota/contact-info-scraper
Try for free

No credit card required

Free email extractor to extract and download emails, phone numbers, Facebook, Twitter, LinkedIn, and Instagram profiles from any website. Extract contact information at scale from lists of URLs and download the data as Excel, CSV, JSON, HTML, and XML.

User avatar

set memory usage through api call.

Closed

cleanwork opened this issue
3 months ago

Trying to set the memory usage via guzzle HTTP post request.

$client->post('acts/vdrmota~contact-info-scraper/run-sync-get-dataset-items', [

1'json' => [
2                    'startUrls' => [
3                        ['url' => $websites[0]]
4                    ],
5                    'maxDepth' => 1,
6                    "maxRequests" => 4,
7                    "maxRequestsPerStartUrl" => 4,
8                    "options" => [
9                        ['memoryMbytes' => 16384]
10                    ],
11                ],
12                
13                'query' => [ 'waitForFinish' => 30 ],
14                
15            ]),

this isn't working. How do you set the memory usage?

User avatar

Hello,

The "options" are passed as query parameters, not body. So e.g. acts/vdrmota~contact-info-scraper/run-sync-get-dataset-items?memory= 16384. https://docs.apify.com/api/v2/#/reference/actor-tasks/run-task-synchronously-and-get-dataset-items/run-task-synchronously-and-get-dataset-items-(post)

Developer
Maintained by Apify
Actor metrics
  • 838 monthly users
  • 99.9% runs succeeded
  • 31 days response time
  • Created in May 2019
  • Modified 4 days ago