1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "startUrls": [
9 {
10 "url": "https://nova.gr/statheri-tilefonia/programmata/stathero-internet",
11 "method": "GET",
12 "userData": { "taskType": "static" },
13 },
14 {
15 "url": "https://nova.gr/sindiastika-programmata/eon-syndyastika-programmata-me-statherh",
16 "method": "GET",
17 "userData": { "taskType": "eon" },
18 },
19 {
20 "url": "https://nova.gr/kiniti-tilefonia/simvolaia-kinitis/programmata-kinitis",
21 "method": "GET",
22 "userData": { "taskType": "mobile" },
23 },
24 {
25 "url": "https://www.f2g.gr/gr/f2g/#/",
26 "method": "GET",
27 "userData": { "taskType": "f2g" },
28 },
29 ] }
30
31
32run = client.actor("mpelas/my-actor-playwright-crawlee-template-4-nova-ok").call(run_input=run_input)
33
34
35print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
36for item in client.dataset(run["defaultDatasetId"]).iterate_items():
37 print(item)
38
39