JSPM

linkedin-post-scraper

1.0.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 3
    • Score
      100M100P100Q23576F
    • License ISC

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

    Package Exports

    • linkedin-post-scraper

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (linkedin-post-scraper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

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

    Installation

    npm install linkedin-post-scraper

    Example

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

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

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

    Login with credentials

    linkedin.login(username,password)

    Login with cookies

    linkedin.login_cookie(list_of_cookies)

    Get Post Data

    linkedin.get_post("post link")

    Cookies

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

    Contact Us