1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "links": [
10 {
11 "url": "https://www.gov.uk/vat-rates",
12 "quote": "The reduced rate of VAT is 8%, for example on children's car seats and home energy.",
13 "label": "VAT rates",
14 },
15 {
16 "url": "https://gov.uk/vat-rates",
17 "quote": "The standard rate of VAT increased to 20% on 4 January 2011 (from 17.5%).",
18 "label": "VAT rates",
19 },
20 {
21 "url": "https://www.gov.uk/guidance/rates-of-vat-on-different-goods-and-services-2031",
22 "label": "Rates of VAT on different goods and services",
23 },
24 ],
25 "timeoutSecs": 20,
26}
27
28
29run = client.actor("landlordtools/link-citation-checker").call(run_input=run_input)
30
31
32print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
33for item in client.dataset(run.default_dataset_id).iterate_items():
34 print(item)
35
36