scrape-linkedin
v0.0.2
Published
Scrape Linkedin profiles has never been so simple with nodejs :D !
Downloads
22
Maintainers
Readme
scrape-linkedin-with-nodejs
Scrape Linkedin profiles has never been so simple with nodejs :D !
- Npm page: scrape-linkedin.
Get started
1.Download the module
npm install scrape-linkedin
2.Use the module
// Import the module in your file
var ScrapeLinkedin = require("scrape-linkedin");
// Create the scraper object
var scrapper = new ScrapeLinkedin();
// Fetch a profile
scrapper.fetch("charlyberthet")
// Handle the result
.then(profile => console.log(profile))
// Handle an error
.catch(err => console.log(err));
Customization
You can customize the scraper by passing your configuration.
// Import the module in your file
var ScrapeLinkedin = require("scrape-linkedin");
// Create the scraper object
var scrapper = new ScrapeLinkedin({
debug : true, // optional, boolean
token : "<li_at cookie set by linkedin servers>", // optional, string
loginCsrf : "<csrf form value send by linkedin login page>", // optional, string
loginCookies : "<default cookies send by linkedin login page>", // optional, string
loginEmail : "<linkedin mail>", // optional, string
loginPassword : "<linkedin pwd>" // optional, string
});
Thanks to
And you ! <3