1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "sites": [
10 "https://example.com",
11 "https://apify.com",
12 ],
13 "paths": ["/"],
14 "bots": [
15 "Baiduspider",
16 "Baidubot",
17 "Bytespider",
18 "Bytedance",
19 "Doubao",
20 "DeepSeekBot",
21 "ChatGLM-Spider",
22 "Qwenbot",
23 "PanguBot",
24 "PetalBot",
25 "Kimi",
26 "Hunyuan",
27 "YiBot",
28 "SenseBot",
29 "iFlytekBot",
30 "MiniMaxBot",
31 "InternLMBot",
32 "360Spider",
33 "Sogou web spider",
34 "Yisouspider",
35 ],
36 "checkLlms": True,
37 "maxItems": 2,
38}
39
40
41run = client.actor("zinin/chinese-ai-crawler-access-checker").call(run_input=run_input)
42
43
44print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
45for item in client.dataset(run.default_dataset_id).iterate_items():
46 print(item)
47
48