Skip to content

linvo-io/linvo-scraper

Repository files navigation

logo

Welcome to Linvo Linkedin Scraper

License: MIT License

Here you can find secure scraping using Puppeteer for different Linkedin actions

  • Login
  • Scrape profiles: Sales Nav / Normal
  • Connection Request
  • Follow message
  • Endorse Profile
  • Visit Profile
  • Like posts
  • Random Engagement

Install

npm install linvo-scraper puppeteer --save

Usage

import * as LinvoScraper from 'linvo-scraper';
import * as puppeteer from 'puppeteer';

(async () => {
    const browser = await puppeteer.launch({
        headless: false
    });
    const page = (await browser.newPage());
    const cdp = await page.target().createCDPSession();

    // that's the res Linvo is working in production
    await page.setViewport({
        width: 1440,
        height: 900,
    });

    // add ghost-cursor for maximum safety
    await LinvoScraper.tools.loadCursor(page, true);

    // Login with Linkedin
    const {token} = await LinvoScraper.services.login.process(page, cdp, {
        user: 'bang@linvo.io',
        password: 'superStrongPass!!%'
    })

    // set cookies
    await page.setCookie({
        name: "li_at",
        value: token,
        httpOnly: true,
        secure: true,
        sameSite: "None",
        priority: "Medium",
        path: "/",
        domain: ".www.linkedin.com",
    });

    await LinvoScraper.services.connect.process(page, cdp, {
        message: 'Hi Nevo! Let\'s connect!',
        url: 'https://www.linkedin.com/in/nevo-david/'
    })
})();

Who made this project

This project was made by Linvo - The Safest Linkedin Automation Tool, and being maintained by Nevo David Any contribution is welcomed!

🤝 Contributing

Please check our Contribution guide to get started!

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

  • Fork the repository, Clone it on your device. That's it 🎉
  • Finally make a pull request :)

📝 License

This project is MIT License licensed.


We accept contribution with great love! Show your interest! Contribute!

How to get GitHub stars

About

Linkedin Automation Bot with every possible scraping! Valid for 2022 used by Linvo.io

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published