New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

linkedin-post-comments-scraper

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linkedin-post-comments-scraper

A nodejs package to scrape post comments data from linkedin automatically.

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Linkedin-Post-Comments-Scraper is a nodejs package to scrape comments of a post on linkedin using browser automation. It currently runs only on windows.

Installation

npm install linkedin-post-comments-scraper

Example

In this example we first import package, then we login with cookies and then scrape comments of a post.

var linkedin=require("linkedin-post-comments-scraper");
function get_data(response){
	var data=response["body"]
	console.log("data",data)
}
function fetch(){
	linkedin.get_comments(get_data)
}
function open_link(){
	linkedin.open("post link",fetch)
}
linkedin.login_cookie(cookie_list,open_link)

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-post-comments-scraper");

Login with credentials

linkedin.login(username,password)

Login with cookies

linkedin.login_cookie(list_of_cookies)

Get Comments Data

linkedin.get_comments()

Cookies

To login with cookies Edit this Cookie Extension can be added to browser

Contact Us

  • Telegram
  • Website

Keywords

linkedin

FAQs

Package last updated on 26 Mar 2021

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