1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "websiteUrls": ["https://www.example.com"],
10 "bots": [
11 "GPTBot",
12 "OAI-SearchBot",
13 "ChatGPT-User",
14 "ClaudeBot",
15 "Claude-User",
16 "Claude-SearchBot",
17 "PerplexityBot",
18 "Perplexity-User",
19 "Google-Extended",
20 "Applebot-Extended",
21 "meta-externalagent",
22 "Bytespider",
23 "Amazonbot",
24 "CCBot",
25 "cohere-ai",
26 ],
27}
28
29
30run = client.actor("persistent_violet_qhb/ai-crawler-audit-1").call(run_input=run_input)
31
32
33print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
34for item in client.dataset(run.default_dataset_id).iterate_items():
35 print(item)
36
37