1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "expectedIds": [
10 "example-a",
11 "example-b",
12 ],
13 "records": [
14 {
15 "url": "example-a",
16 "text": "Synthetic example record for checking a complete extraction. Replace this example with your own extracted text before using the result.",
17 },
18 {
19 "url": "example-b",
20 "text": "Synthetic example record for checking a complete extraction. Replace this example with your own extracted text before using the result.",
21 },
22 ],
23 "manifestComplete": True,
24 "captureComplete": True,
25}
26
27
28run = client.actor("dcheck-studio/dcheck-crawl-coverage").call(run_input=run_input)
29
30
31print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
32for item in client.dataset(run.default_dataset_id).iterate_items():
33 print(item)
34
35