1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "startUrls": [{ "url": "https://www.booking.com/searchresults.html?ss=Birstall&ssne=Birstall&ssne_untouched=Birstall&highlighted_hotels=46114&efdco=1&label=gen173nr-1FCAsoUEIMcmFkaXNzb24tYmx1SDNYBGi1AYgBAZgBMbgBGcgBDNgBAegBAfgBA4gCAagCA7gC48-9vAbAAgHSAiRlNjYwYmYyNi1mNDFjLTQyNGQtYTg5My05MmY1OTRkNDI4YmXYAgXgAgE&aid=304142&lang=en-us&sb=1&src_elem=sb&src=searchresults&dest_id=-2590000&dest_type=city&checkin=2025-12-10&checkout=2025-12-25&group_adults=2&no_rooms=1&group_children=0" }] }
9
10
11run = client.actor("moving_beacon-owner1/my-actor-25").call(run_input=run_input)
12
13
14print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
15for item in client.dataset(run["defaultDatasetId"]).iterate_items():
16 print(item)
17
18