Linkedin Automation Bot with every possible scraping! (2024)
Here you can find secure scraping using Puppeteer for different LinkedIn actions
npm install linkout-scraper puppeteer --save
const Linkout = require("linkout-scraper");
const puppeteer = require("puppeteer");
(async () => {
const browser = await puppeteer.launch({
headless: false,
});
const page = await browser.newPage();
const cdp = await page.target().createCDPSession();
await page.setViewport({
width: 1440,
height: 900,
});
// add ghost-cursor for maximum safety
await Linkout.tools.loadCursor(page, true);
// Login with LinkedIn
await Linkout.services.login(page, cdp, {
cookie: LI_AT,
});
// Connect on LinkedIn
await Linkout.services.connect(page, cdp, {
message: "Hi {{firstName}}, let's connect!",
url: "https://www.linkedin.com/in/sai-adarsh/",
});
// Send a message on LinkedIn
await Linkout.services.message(page, cdp, {
message: "Got it, {{firstName}}!",
url: "https://www.linkedin.com/in/sai-adarsh/",
});
// Visit a LinkedIn profile
await Linkout.services.visit(page, cdp, {
url: "https://www.linkedin.com/in/sai-adarsh/",
});
})();
This project was made by Linkout - LinkedIn Outreach on Autopilot, and being maintained by Sai Adarsh S. 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.