1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "spaceUrls": [
12 "https://cryptocurrency.quora.com/"
13 ],
14 "includeMetadata": true,
15 "includeFeed": true,
16 "scrapeDepth": "overview",
17 "includeContributors": false,
18 "maxFeedQuestionExpansions": 0,
19 "includeFeedText": true,
20 "includeMedia": false,
21 "includeOutboundLinks": false,
22 "includeRules": true,
23 "includeTopics": true,
24 "includeSettings": false,
25 "onlyNewItems": false,
26 "includeUnchanged": true,
27 "proxyConfiguration": {
28 "useApifyProxy": true,
29 "apifyProxyGroups": [
30 "RESIDENTIAL"
31 ]
32 },
33 "includeFieldEvidence": true,
34 "maxItemsPerSource": 0
35};
36
37
38const run = await client.actor("nimbryxo-studio/quora-space-activity-and-content-change-monitor").call(input);
39
40
41console.log('Results from dataset');
42console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
43const { items } = await client.dataset(run.defaultDatasetId).listItems();
44items.forEach((item) => {
45 console.dir(item);
46});
47
48