1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "clusters": [{
10 "id": "mozilla-home",
11 "expected": {
12 "en-US": "https://www.mozilla.org/en-US/",
13 "de": "https://www.mozilla.org/de/",
14 "fr": "https://www.mozilla.org/fr/",
15 },
16 }],
17 "ignoreUnexpectedLocales": True,
18}
19
20
21run = client.actor("muazah/hreflang-cluster-receipts").call(run_input=run_input)
22
23
24print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
25for item in client.dataset(run.default_dataset_id).iterate_items():
26 print(item)
27
28