1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "keywords": "software engineer",
10 "location": "Kuala Lumpur",
11 "urls": [
12 "https://my.jobstreet.com/software-engineer-jobs/in-Kuala-Lumpur",
13 "https://my.jobstreet.com/it-jobs",
14 "https://my.jobstreet.com/jobs/in-Selangor",
15 "https://my.jobstreet.com/jobs-in-information-communication-technology",
16 "https://my.jobstreet.com/jobs-in-information-communication-technology/in-Kuala-Lumpur",
17 "https://my.jobstreet.com/jobs-in-information-communication-technology/developers-programmers",
18 "https://my.jobstreet.com/software-engineer-jobs/remote",
19 "https://my.jobstreet.com/software-engineer-jobs-in-information-communication-technology/in-Kuala-Lumpur/full-time",
20 "https://my.jobstreet.com/jobs?classification=6281&worktype=242&daterange=7&sortmode=ListedDate&page=2",
21 "https://sg.jobstreet.com/jobs-in-accounting/in-Singapore",
22 "https://ph.jobstreet.com/jobs-in-accounting/in-Manila",
23 "https://id.jobstreet.com/jobs-in-accounting/in-Jakarta",
24 "https://my.jobstreet.com/api/jobsearch/v5/search?siteKey=MY-Main&sourcesystem=houston&where=Kuala+Lumpur&keywords=software+engineer&page=1&pageSize=5",
25 ],
26 "proxyConfiguration": {
27 "useApifyProxy": True,
28 "apifyProxyGroups": [],
29 },
30 "ignoreFieldsForChanges": [],
31}
32
33
34run = client.actor("abotapi/jobstreet-scraper").call(run_input=run_input)
35
36
37print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
38for item in client.dataset(run.default_dataset_id).iterate_items():
39 print(item)
40
41