1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "startUrl": "https://www.auction.com/residential/GA/Atlanta_ct/active_lt/online,in_person,remote_bid,offer_af/single-family,multi-family,condos-townhouses,land_pt/auction_date_order,resi_sort_v2_st/y_nbs/bank-owned,foreclosures,private-seller_at",
10 "saleTypes": [
11 "foreclosures",
12 "bank-owned",
13 "private-seller",
14 ],
15 "propTypes": [
16 "single-family",
17 "multi-family",
18 "condos-townhouses",
19 "land",
20 ],
21 "buyingTypes": [
22 "online",
23 "in_person",
24 "remote_bid",
25 "offer",
26 ],
27 "maxItems": 10,
28 "proxyConfiguration": {
29 "useApifyProxy": True,
30 "apifyProxyGroups": ["RESIDENTIAL"],
31 "countryCode": "US",
32 },
33}
34
35
36run = client.actor("parseforge/auction-com-property-scraper").call(run_input=run_input)
37
38
39print(f"πΎ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
40for item in client.dataset(run.default_dataset_id).iterate_items():
41 print(item)
42
43