Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

linkedin_scraper

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linkedin_scraper

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= Linkedin-Scraper

Linkedin Scraper is a gem for finding linkedin public profiles. You give it name and company of required profile, it finds linkedin profile for same, and its title, name, area, connection, etc.

= Installation

Install the gem from RubyGems:

gem install linkedin_scraper

This gem is tested on Ruby versions 1.8.7, 1.9.2 and 1.9.3.

= Usage

First Initialize an instance Linkedin class like this:

require 'linkedin_scraper'

linkedin = LinkedinScraper::linkedin.new

This sets the mechanize object for scraping. Now you can feed name and companies:

profile = linkedin.get_profile_data(name: some_name, company: some_company)

third option can be country: some_country (see list of supported countries below)

List of supported countries

  1. United States - country: "us"
  2. United Kingdom - country: "uk"
  3. Canada - country: "ca"
  4. India - country: "in"

Then you can see the scraped data like this:

profile.full_name #the First name of the profile

profile.title #the linkedin job title

profile.location #the location of the prfile

profile.connection # number of connection of profile

profile.linkedin_url #url of the profile

Copyright (c) 2012 Bhushan Lodha, released under the MIT license.

FAQs

Package last updated on 31 Aug 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc