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/?f_TPR=r604800&geoId=100025096&keywords=data+scientist" }],
10 "keyword": ["Software Engineer"],
11 "locations": ["Montreal, Canada"],
12 "publishedAt": "r86400",
13 "resumeKeywords": [
14 {
15 "keyword": "TypeScript",
16 "aliases": [
17 "TS",
18 "JS",
19 "JavaScript",
20 ],
21 },
22 {
23 "keyword": "Node.js",
24 "aliases": [
25 "Node",
26 "NodeJS",
27 ],
28 },
29 {
30 "keyword": "React",
31 "aliases": [
32 "RN",
33 "React Native",
34 "Expo",
35 "ReactJS",
36 ],
37 },
38 {
39 "keyword": "SQL",
40 "aliases": ["PostgreSQL"],
41 },
42 {
43 "keyword": "Tools",
44 "aliases": [
45 "Git",
46 "Docker",
47 "Jira",
48 "Postman",
49 "GitHub",
50 "GitLab",
51 "GitHub Copilot",
52 "Webpack",
53 ],
54 },
55 ],
56}
57
58
59run = client.actor("cheap_scraper/linkedin-job-scraper").call(run_input=run_input)
60
61
62print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
63for item in client.dataset(run.default_dataset_id).iterate_items():
64 print(item)
65
66