1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "search",
10 "locations": ["dubai"],
11 "propertyTypes": ["properties"],
12 "urls": [
13 "https://www.propertyfinder.ae/en/buy/dubai/apartments-for-sale.html",
14 "https://www.propertyfinder.ae/en/buy/dubai/apartments-for-sale.html?page=2",
15 "https://www.propertyfinder.ae/en/buy/dubai/apartments-for-sale.html?bdr%5B%5D=2&pf=1000000&pt=2000000&ob=pa",
16 "https://www.propertyfinder.ae/en/buy/dubai/apartments-for-sale.html?ob=pa&page=2",
17 "https://www.propertyfinder.ae/en/buy/dubai/apartments-for-sale-downtown-dubai.html",
18 "https://www.propertyfinder.ae/en/buy/dubai/apartments-for-sale-dubai-marina-marina-gate.html",
19 "https://www.propertyfinder.ae/en/buy/dubai/1-bedroom-apartments-for-sale.html",
20 "https://www.propertyfinder.ae/en/buy/dubai/properties-for-sale.html",
21 "https://www.propertyfinder.ae/en/rent/dubai/apartments-for-rent.html",
22 "https://www.propertyfinder.ae/en/commercial-rent/dubai/offices-for-rent.html",
23 "https://www.propertyfinder.ae/en/for-sale/off-plan/apartments/dubai",
24 "https://www.propertyfinder.ae/en/search?c=1&t=1&l=1&ob=nd",
25 "https://www.propertyfinder.ae/en/buy/dubai/apartments-for-sale.html?utm_source=x&fk=1",
26 "https://www.propertyfinder.ae/en/plp/buy/apartment-for-sale-dubai-downtown-dubai-bellevue-towers-bellevue-tower-2-158222918.html",
27 "https://www.propertyfinder.ae/en/agent/mamoun-hemora-276469",
28 "https://www.propertyfinder.ae/en/find-agent/search?page=1",
29 "https://www.propertyfinder.ae/en/broker/elite-property-brokerage-4428",
30 "https://www.propertyfinder.ae/en/find-broker/search?page=1",
31 "https://www.propertyfinder.ae/en/new-projects",
32 "https://www.propertyfinder.ae/en/new-projects/lp/dubai",
33 "https://www.propertyfinder.ae/en/new-projects/emaar-properties/valia-tower",
34 "https://www.propertyfinder.ae/en/transactions/buy/dubai",
35 "https://www.propertyfinder.ae/en/area-insights/dubai/downtown-dubai",
36 "https://propertyfinder.ae/en/buy/dubai/apartments-for-sale.html",
37 ],
38 "maxListings": 20,
39 "proxy": {
40 "useApifyProxy": True,
41 "apifyProxyGroups": ["RESIDENTIAL"],
42 "apifyProxyCountry": "AE",
43 },
44 "incrementalMode": False,
45 "emitUnchanged": False,
46 "emitExpired": False,
47}
48
49
50run = client.actor("abotapi/propertyfinder-ae-scraper").call(run_input=run_input)
51
52
53print(f"๐พ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
54for item in client.dataset(run.default_dataset_id).iterate_items():
55 print(item)
56
57