1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "search",
10 "keywords": "",
11 "sort": "added",
12 "postedWithinHours": 0,
13 "urls": [
14 "https://hijobs.net/jobs",
15 "https://hijobs.net/search/results?Keywords=chef",
16 "https://hijobs.net/jobs/oban",
17 "https://hijobs.net/search/results?employers=charity-cic&where=Scotland&sort=relevance",
18 "https://hijobs.net/jobs?pg=2",
19 "https://hijobs.net/job/427074/support-practitioner",
20 ],
21 "fetchDetails": True,
22 "maxItems": 20,
23 "maxPages": 0,
24 "proxy": { "useApifyProxy": True },
25 "incrementalMode": False,
26 "emitUnchanged": False,
27 "emitExpired": False,
28 "ignoreFieldsForChanges": [],
29}
30
31
32run = client.actor("abotapi/hijobs-net-jobs-scraper").call(run_input=run_input)
33
34
35print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
36for item in client.dataset(run.default_dataset_id).iterate_items():
37 print(item)
38
39