1.0.1 • Published 5 years ago
linkedin-company-profile-scraper v1.0.1
Linkedin-Company-Profile-Scraper is a nodejs package to scrape data of linkedin company using browser automation. It currently runs only on windows.
Installation
npm install linkedin-company-profile-scraperExample
In this example we first import package, then we login with cookies and then scrape company data.
var linkedin=require("linkedin-company-profile-scraper");
function get_data(response){
var data=response["body"]
console.log("data",data)
}
function fetch(){
linkedin.get_company_profile('company link',get_data)
}
linkedin.login_cookie(cookie_list,fetch)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-company-profile-scraper");Login with credentials
linkedin.login(username,password)Login with cookies
linkedin.login_cookie(list_of_cookies)Get company Profile
linkedin.get_company_profile('company link')Cookies
To login with cookies Edit this Cookie Extension can be added to browser
