Linkedin Automation Bot with every possible scraping! Valid for 2022 used by Linvo.io
MIT License
Here you can find secure scraping using Puppeteer for different Linkedin actions
npm install linvo-scraper puppeteer --save
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: '[email protected]',
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/'
})
})();
This project was made by Linvo - The Safest Linkedin Automation Tool, and being maintained by Nevo David Any contribution is welcomed!
Please check our Contribution guide to get started!
Contributions, issues and feature requests are welcome!Feel free to check issues page.
This project is MIT License licensed.
We accept contribution with great love! Show your interest! Contribute!