1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "startUrls": [
10 { "url": "https://github.com" },
11 { "url": "https://shopify.com" },
12 ],
13 "acceptedTerms": True,
14 "legalAcknowledgment": True,
15 "targetRegion": "EU",
16 "industryType": "general",
17 "aiProvider": "none",
18 "aiApiKey": "",
19 "aiDataProcessingConsent": False,
20 "enableTechnicalAnalysis": True,
21 "performSSLCheck": True,
22 "performWhoisLookup": True,
23 "performDNSAnalysis": False,
24 "enableTechnologyDetection": True,
25 "enableAccessibilityCheck": True,
26 "enableNotifications": False,
27 "notificationType": "none",
28 "discordWebhookUrl": "",
29 "telegramBotToken": "",
30 "telegramChatId": "",
31 "slackWebhookUrl": "",
32 "emailRecipient": "",
33 "emailSendGridApiKey": "",
34 "emailFromAddress": "",
35 "concurrency": 2,
36 "maxPages": 5,
37 "lowMemoryMode": False,
38 "exportFormats": [
39 "html",
40 "csv",
41 "json",
42 ],
43}
44
45
46run = client.actor("actor_researcher.48/privacy-compliance-analyzer-v-1").call(run_input=run_input)
47
48
49print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
50for item in client.dataset(run["defaultDatasetId"]).iterate_items():
51 print(item)
52
53