1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "startUrls": [],
10 "keyword": "Python",
11 "keywords": [],
12 "cities": [],
13 "region": "",
14 "regions": [],
15 "categoryIds": [],
16 "jobTypeIds": [],
17 "postedWithinDays": 0,
18 "stateName": "default",
19 "notificationWebhookUrl": "",
20 "maxItems": 50,
21 "proxyConfiguration": {
22 "useApifyProxy": True,
23 "apifyProxyGroups": ["RESIDENTIAL"],
24 "apifyProxyCountry": "IL",
25 },
26}
27
28
29run = client.actor("parsebird/alljobs-il-scraper").call(run_input=run_input)
30
31
32print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
33for item in client.dataset(run.default_dataset_id).iterate_items():
34 print(item)
35
36