1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "query": "software engineer",
10 "location": "",
11 "startUrls": [],
12 "minSalary": 0,
13 "language": "",
14 "fromDate": "",
15 "toDate": "",
16 "maxResults": 25,
17 "maxPages": 5,
18 "outputFields": [],
19 "datasetName": "",
20 "stateKey": "",
21 "dedupStoreName": "",
22 "dedupKey": "jobId",
23 "proxyConfiguration": {
24 "useApifyProxy": True,
25 "apifyProxyGroups": ["RESIDENTIAL"],
26 "apifyProxyCountry": "IE",
27 },
28}
29
30
31run = client.actor("parsebird/irishjobs-scraper").call(run_input=run_input)
32
33
34print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
35for item in client.dataset(run.default_dataset_id).iterate_items():
36 print(item)
37
38