1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "startUrls": [{ "url": "https://www.linkedin.com/jobs/search?keywords=Software%20Engineer&location=United%20States&geoId=103644278" }],
10 "keywords": ["Software Engineer"],
11 "location": "United States",
12 "locations": [
13 "United States",
14 "United Kingdom",
15 ],
16 "placeIds": ["104555257"],
17 "jobTypes": [
18 "1",
19 "3",
20 ],
21 "remote": ["2"],
22 "experienceLevels": [
23 "4",
24 "5",
25 "6",
26 ],
27 "experienceLevel": ["5"],
28 "contractType": ["F"],
29 "resumeKeywords": [
30 {
31 "keyword": "TypeScript",
32 "aliases": ["TS"],
33 },
34 { "keyword": "React" },
35 {
36 "keyword": "Node.js",
37 "aliases": [
38 "NodeJS",
39 "Node",
40 ],
41 },
42 ],
43}
44
45
46run = client.actor("memo23/linkedin-jobs-scraper").call(run_input=run_input)
47
48
49print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
50for item in client.dataset(run.default_dataset_id).iterate_items():
51 print(item)
52
53