1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "startUrls": [
10 { "url": "https://www.zillow.com/homedetails/17-Zelma-Dr-Greenville-SC-29617/11026031_zpid/" },
11 { "url": "https://www.zillow.com/apartments/san-antonio-tx/westpond/5XkVjF/" },
12 { "url": "https://www.zillow.com/community/greens-at-indian-river-preserve/39987_plid/" },
13 { "url": "https://www.zillow.com/b/Cashiers-NC/35.09787,-83.080475_ll/" },
14 { "url": "https://www.zillow.com/community/greens-at-indian-river-preserve/2072679238_zpid/" },
15 ],
16 "addresses": ["18 Zelma Dr, Greenville, SC 29617"],
17 "extractBuildingUnits": "all",
18}
19
20
21run = client.actor("maxcopell/zillow-detail-scraper").call(run_input=run_input)
22
23
24print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
25for item in client.dataset(run["defaultDatasetId"]).iterate_items():
26 print(item)
27
28