linkedin-profile
Scraper of public profiles at linkedIn
Last updated 4 years ago by slava.ganzin .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install linkedin-profile 
SYNC missed versions from official npm registry.

linkedin-scrapper

Scrapper of linkedin public profiles

  $ npm install linkedin-profile
  var callback = function(obj) {
    console.log(obj.result, obj.$, obj.response);
    // obj.result -> json filled with linkedin data
    // obj.$ -> cheerio object you can use as jQuery
    // obj.response -> request's response object
  }

  var scrapper = require('linkedin-scrapper');
  scrapper('http://public.profile.url', callback, additionalMapping={})

Can be extended with additionalMapping parameter which merges with mapping.coffee:

addditionalMapping = {
  sections: {
    your-section-name: {
      mapping: {
        field: '.additional > #selector'
      }
    }
  }
  defaultSectionMapping: {
    field: '.additional default > #selector'
  }
}

Be aware linkedin uses different markup for profiles when you are authorized/not authorized. You should use not authorized selectors - this script didn't login (but it should).

Troubleshooting

LinkedIn markup may change. So launch npm test first

Linkedin blocks AWS, Travis and other SaaS/PaaS by IP.

Current Tags

  • 0.0.2                                ...           latest (4 years ago)

2 Versions

  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (2)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |