ls
linkedin-scraper2
npm i linkedin-scraper2
ls

linkedin-scraper2

A simple linkedin profile scraper for nodejs

by Daniel Henrique Joppi

2.0.0 (see all)License:MITTypeScript:Not Found
npm i linkedin-scraper2
Readme

node-linkedin-scraper2 NPM version

Build Status Coveralls Status

A simple LinkedIn profile scraper for nodejs, based on original linkedin-scraper.

Install Dependency Status devDependency Status

    npm install linkedin-scraper2 --save

Usage

with callback function

// Scrape a linkedin profile for the public contents
var linkedinScraper = require('linkedin-scraper');
var url = 'https://www.linkedin.com/in/[user]';

linkedinScraper(url, function(err, profile) {
    if (err) {
        console.log(err);
    } else {
        console.log(profile);
    }
});

with promise

// Scrape a linkedin profile for the public contents
var linkedinScraper = require('linkedin-scraper');
var url = 'https://www.linkedin.com/in/[user]';

linkedinScraper(url)
    .then(function(profile) {
        console.log(profile);
    })
    .catch(function(err) {
        console.log(err);
    });

output

http://pastebin.com/629RHwTa

No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate