1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "productUrls": [
10 "https://www.copart.com/lot/79774085/clean-title-2013-ford-fiesta-se-oh-cleveland-west",
11 "https://www.copart.com/lot/65194586/clean-title-2009-smart-fortwo-pure-fl-punta-gorda",
12 "https://www.copart.com/lot/64830086/clean-title-2019-ford-escape-se-on-london",
13 ],
14 "categoryUrls": [
15 "https://www.copart.com/lotSearchResults?query=ford",
16 "https://www.copart.com/lotSearchResults?query=chevrolet",
17 ],
18 "usePagination": True,
19}
20
21
22run = client.actor("123webdata/copart-scraper").call(run_input=run_input)
23
24
25print(f"πΎ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
26for item in client.dataset(run.default_dataset_id).iterate_items():
27 print(item)
28
29