1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "brand": "HubSpot",
10 "demoMode": True,
11 "brandAliases": ["hubspot.com"],
12 "competitors": [{
13 "name": "Salesforce",
14 "aliases": ["salesforce.com"],
15 }],
16 "prompts": [
17 "What is the best CRM for a small business?",
18 "Which CRM should a startup use?",
19 "What are good alternatives to Salesforce for small teams?",
20 ],
21 "promptGenerator": {
22 "enabled": False,
23 "category": "",
24 "country": "",
25 "count": 5,
26 },
27 "maxQueries": 3,
28}
29
30
31run = client.actor("taiw/claude-search-scraper").call(run_input=run_input)
32
33
34print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
35for item in client.dataset(run.default_dataset_id).iterate_items():
36 print(item)
37
38