1.0.5 • Published 2 years ago

linvo-scraper v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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';

const browser = await puppeteer.launch();
const page = await browser.newPage();
const cdp = await page.target().createCDPSession();

// 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!