1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "urls": ["https://www.vrbo.com/search?destination=London%20%28and%20vicinity%29%2C%20England%2C%20United%20Kingdom®ionId=178279&latLong=51.507538%2C-0.127804&flexibility=0_DAY&adults=2&isInvalidatedDate=false&theme=&userIntent=&semdtl=&sort=RECOMMENDED"],
10 "max_items_per_url": 20,
11 "max_retries_per_url": 2,
12 "proxy": {
13 "useApifyProxy": True,
14 "apifyProxyGroups": ["RESIDENTIAL"],
15 "apifyProxyCountry": "US",
16 },
17}
18
19
20run = client.actor("ecomscrape/vrbo-property-search-scraper").call(run_input=run_input)
21
22
23print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
24for item in client.dataset(run["defaultDatasetId"]).iterate_items():
25 print(item)
26
27