1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "feedUrls": [
12 "https://rss.art19.com/masters-of-scale"
13 ],
14 "topicKeywords": [
15 "ai",
16 "startup",
17 "founder",
18 "scale",
19 "leadership",
20 "innovation",
21 "growth",
22 "business",
23 "strategy",
24 "venture",
25 "fundraising",
26 "investing",
27 "finance",
28 "saas",
29 "technology",
30 "data",
31 "security",
32 "ecommerce",
33 "robotics",
34 "marketing",
35 "sales",
36 "product",
37 "operations",
38 "hiring",
39 "culture",
40 "media",
41 "healthcare",
42 "climate",
43 "crypto",
44 "consumer",
45 "retail"
46 ],
47 "maxEpisodesPerFeed": 15,
48 "maxConcurrency": 8,
49 "timeoutSecs": 30,
50 "emitOnlyMatchedTopics": false,
51 "userAgent": "Soft But Savage research@example.com"
52};
53
54
55const run = await client.actor("soft_but_savage/podcast-guest-intelligence").call(input);
56
57
58console.log('Results from dataset');
59console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
60const { items } = await client.dataset(run.defaultDatasetId).listItems();
61items.forEach((item) => {
62 console.dir(item);
63});
64
65