
Contact Details Scraper
Pricing
Pay per event

Contact Details Scraper
Free email extractor and lead scraper 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.
3.7 (37)
Pricing
Pay per event
488
Total users
33K
Monthly users
1.5K
Runs succeeded
>99%
Issues response
1 days
Last modified
a day ago
Set memory still not working
Closed
when making an api call setting the memory still isn't working.
$client = new \GuzzleHttp\Client([ 'base_uri' => 'https://api.apify.com/v2/', 'headers' => [ // Replace <YOUR_APIFY_API_TOKEN> with your actual token 'Authorization' => 'Bearer ', ] ]); // To run the actor, we make a POST request to its run's endpoint // To identify the actor, you can use its ID, but you can also pass // the full actor name [username]~[actorName] or just ~[actorName] for // your own actors
$promises = [$client->postAsync('acts/vdrmota~contact-info-scraper/run-sync-get-dataset-items?memory=2048', ['json' => ['startUrls' => [['url' => $websites[0]]],'maxDepth' => 1,"maxRequests" => 4,"maxRequestsPerStartUrl" => 4,],'query' => [ 'waitForFinish' => 30 ],]),
Also how do you stop a fun after a certain amount of time?

Hello,
I'm not a PHP developer so cannot help directly. I think it might be due that you have both ?memory=2048
and 'query' => [ 'waitForFinish' => 30 ],
which don't combine. So I would try 'query' => [ 'waitForFinish' => 30, 'memory' => 2048 ],
For stopping run, you can either add another query parameter called timeout
(in seconds) or use abort endpoint to stop it when you want to