1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "start_urls": [
10 { "url": "https://www.bershka.com/gb/" },
11 { "url": "https://www.bershka.com/gb/men/clothes/jeans-n3676.html" },
12 { "url": "https://www.bershka.com/gb/boyfriend-jeans-c0p180124680.html?colorId=400&stylismId=3" },
13 ],
14 "max_results": 10,
15}
16
17
18run = client.actor("datasaurus/bershka").call(run_input=run_input)
19
20
21print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
22for item in client.dataset(run["defaultDatasetId"]).iterate_items():
23 print(item)
24
25