1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "search",
10 "location": "london",
11 "urls": [
12 "https://jitty.com/for-sale",
13 "https://jitty.com/for-sale/bath",
14 "https://jitty.com/for-sale/london",
15 "https://jitty.com/for-sale/east-london/flat-property-type",
16 "https://jitty.com/for-sale/london/at-least-2-bedrooms/flat-property-type",
17 "https://jitty.com/for-sale/london/price-up-to-200000-gbp",
18 "https://jitty.com/for-sale/london/rural-area-type",
19 "https://jitty.com/for-sale/london/flat-property-type?page=2",
20 "https://jitty.com/for-sale/london/flat-property-type?sort=price_asc",
21 "https://jitty.com/for-sale/paddington-station/travel-by-public-transport/travel-for-60-minutes/look-for-sauna",
22 "https://jitty.com/for-sale/london/flat-property-type/",
23 "http://jitty.com/for-sale/bath",
24 "https://jitty.com/for-sale/greenwich/look-for-waterfront",
25 "https://jitty.com/for-sale/look-for-castle",
26 "https://jitty.com/for-sale/london/within-5-miles/price-200000-to-500000-gbp/at-least-2-bedrooms",
27 "https://jitty.com/for-sale/shoreditch/within-0.5-miles/flat-or-maisonette-property-type",
28 "https://www.jitty.com/for-sale/greenwich",
29 "https://jitty.com/for-sale/map/london/flat-property-type",
30 "https://jitty.com/properties/lrlS0BMHI5MEzJRYM9n9",
31 ],
32 "proxy": {
33 "useApifyProxy": True,
34 "apifyProxyGroups": ["RESIDENTIAL"],
35 "apifyProxyCountry": "GB",
36 },
37 "ignoreFieldsForChanges": [],
38}
39
40
41run = client.actor("abotapi/jitty-uk-scraper").call(run_input=run_input)
42
43
44print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
45for item in client.dataset(run.default_dataset_id).iterate_items():
46 print(item)
47
48