Linkedin-Search-Job is a nodejs package to search keyword in jobs and then scrape job data on linkedin using browser automation. It currently runs only on windows.
Installation
npm install linkedin-search-job
Example
In this example we first import package, then we login with cookies and then search and scrape data of a jobs.
var linkedin=require("linkedin-search-job");
function get_data(response){
var data=response["body"]
console.log("data",data)
}
function results(){
linkedin.jobs_results(get_data)
}
function enter_loc(){
linkedin.enter_job_location('Job location',results)
}
function search(){
linkedin.search_jobs('keyword',enter_loc)
}
linkedin.login_cookie(cookie_list,search)
Youtube Video
DataKund
datakund is needed for browser automation. As soon as this package is imported in code, automated browser will open up.
Import
var linkedin=require("linkedin-search-job");
Login with credentials
linkedin.login(username,password)
Login with cookies
linkedin.login_cookie(list_of_cookies)
Search keyword
linkedin.search_jobs('keyword')
Get Search Results
linkedin.jobs_results()
Enter Location
linkedin.enter_job_location('Job location')
Cookies
To login with cookies Edit this Cookie Extension can be added to browser