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 "geoId": "103644278",
17 "placeIds": ["104555257"],
18 "jobTypes": [
19 "1",
20 "3",
21 ],
22 "remote": ["2"],
23 "experienceLevels": [
24 "4",
25 "5",
26 "6",
27 ],
28 "experienceLevel": ["5"],
29 "contractType": ["F"],
30 "resumeKeywords": [
31 {
32 "keyword": "TypeScript",
33 "aliases": ["TS"],
34 },
35 { "keyword": "React" },
36 {
37 "keyword": "Node.js",
38 "aliases": [
39 "NodeJS",
40 "Node",
41 ],
42 },
43 ],
44}
45
46
47run = client.actor("memo23/linkedin-jobs-scraper").call(run_input=run_input)
48
49
50print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
51for item in client.dataset(run["defaultDatasetId"]).iterate_items():
52 print(item)
53
54