1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "startUrls": [
12 {
13 "url": "https://clutch.co/profile/buzzvel",
14 "method": "GET"
15 },
16 {
17 "url": "https://clutch.co/profile/dengun",
18 "method": "GET"
19 },
20 {
21 "url": "https://clutch.co/profile/pecode",
22 "method": "GET"
23 },
24 {
25 "url": "https://clutch.co/profile/2v-modules",
26 "method": "GET"
27 },
28 {
29 "url": "https://clutch.co/profile/equal",
30 "method": "GET"
31 },
32 {
33 "url": "https://clutch.co/profile/share-it-0",
34 "method": "GET"
35 }
36 ],
37 "proxy": {
38 "useApifyProxy": true
39 }
40};
41
42
43const run = await client.actor("sanjeta/advanced-clutch-co-scrapper").call(input);
44
45
46console.log('Results from dataset');
47console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
48const { items } = await client.dataset(run.defaultDatasetId).listItems();
49items.forEach((item) => {
50 console.dir(item);
51});
52
53