1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "search",
10 "locations": ["Houston, TX"],
11 "urls": [
12 "https://www.furnishedfinder.com/housing/us--tx--houston",
13 "https://www.furnishedfinder.com/housing/us--tx--houston?map=%7B%22min%22%3A%7B%22latitude%22%3A29.5049885802716%2C%22longitude%22%3A-95.83213727429509%7D%2C%22max%22%3A%7B%22latitude%22%3A30.1253449588269%2C%22longitude%22%3A-95.04882504723966%7D%7D",
14 "https://www.furnishedfinder.com/property/999116_1",
15 "https://www.furnishedfinder.com/property/999116",
16 "https://www.furnishedfinder.com/housing/us--tx--austin?filters=%5B%7B%22key%22%3A%22property-type-class%22%2C%22value%22%3A%22room%22%7D%5D",
17 "https://www.furnishedfinder.com/housing/us--tx--houston/rooms",
18 ],
19 "proxy": {
20 "useApifyProxy": True,
21 "apifyProxyGroups": ["RESIDENTIAL"],
22 "apifyProxyCountry": "US",
23 },
24 "incrementalMode": False,
25 "emitUnchanged": False,
26 "emitExpired": False,
27 "ignoreFieldsForChanges": [],
28}
29
30
31run = client.actor("abotapi/furnishedfinder-scraper").call(run_input=run_input)
32
33
34print(f"πΎ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
35for item in client.dataset(run.default_dataset_id).iterate_items():
36 print(item)
37
38