1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "url2": "",
12 "url3": "",
13 "cookies": `Any B2B platform free account works, no need to have premium account
14STEP 1: Install 'EditThisCookie v3' browser extension
15STEP 2: Go to your lead platform URL (keep the tab open)
16STEP 3: Click the extension icon
17STEP 4: Click 'Export' to copy JSON
18STEP 5: Paste here (replace this text with the exported JSON)`
19};
20
21
22const run = await client.actor("amr-mando/private-finder").call(input);
23
24
25console.log('Results from dataset');
26console.log(`๐พ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
27const { items } = await client.dataset(run.defaultDatasetId).listItems();
28items.forEach((item) => {
29 console.dir(item);
30});
31
32