1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "inputURL": [
9 { "url": "https://www.hollandandbarrett.com/shop/product/pro-ven-womens-lactobacillus-with-cranberry-capsules-60008367" },
10 { "url": "https://www.hollandandbarrett.com/shop/vitamins-supplements/vitamins-supplements-shop-all" },
11 ] }
12
13
14run = client.actor("thenetaji/holland-barrett-scraper").call(run_input=run_input)
15
16
17print("πΎ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
18for item in client.dataset(run["defaultDatasetId"]).iterate_items():
19 print(item)
20
21