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": ["https://www.copart.com/lotSearchResults?free=true&query=ford"],
15}
16
17
18run = client.actor("123webdata/copart-scraper").call(run_input=run_input)
19
20
21print(f"๐พ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
22for item in client.dataset(run.default_dataset_id).iterate_items():
23 print(item)
24
25