1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "keywords": [
10 "your-brand-name",
11 "your-product-name",
12 ],
13 "sources": [
14 "reddit",
15 "hackernews",
16 "pastebin",
17 "github",
18 "web",
19 ],
20 "urgencyKeywords": [
21 "leak",
22 "breach",
23 "exploit",
24 "password",
25 "dump",
26 "compromised",
27 "vulnerability",
28 "ransomware",
29 "data breach",
30 ],
31 "webhookUrl": "",
32}
33
34
35run = client.actor("second_coming/brand-mention-monitor").call(run_input=run_input)
36
37
38print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
39for item in client.dataset(run["defaultDatasetId"]).iterate_items():
40 print(item)
41
42