NodeJS with puppeteer solution for automated extending network on LinkedIn and collecting recruiters information from top IT companies.
Network extending on LinkedIn automation
You may have heard that there is a direct correlation between a number of your connections on LinkedIn and your annual income number of recruiters that trying to reach out to you. If not, I will not tell you about that just will live it here: How Important Is To Grow Your Connections On LinkedIn?, Why LinkedIn Connections Matter & How to Grow Your Network
Every one on LinkedIn has own suggestions that may look like this
And I was clicking on each Connect button to add peoples to the connect list. But I very fast understand that it is something that could be automated. And here it is:
Install NodeJS
Clone repo:
git clone https://github.com/mkotsabiuk/ConnectedIn.git
Go to the source folder
cd ConnectedIn
Install dependencies:
npm i
Add li_at cookie value from your LinkedIn account to run.js file here
// process.env["li_at"] = "";
and uncomment this line of code OR you can just add an environment variable named li_at with cookie value.
Run command
node NetworkExtenderBySuggestions\run.js
How can I find li_at cookies value?
You can easaly find it in browser dev tools under Application tab. For example Google Chrome dev tools:
Should I always run this script manually?
Not realy. You can easaly use services like Azure Functions, AWS Lambda or Cloud Functions on GCP.
In this case you would like to change in scrape.js file headless property to true
Actually, code is written to easy host in on Azure Functions. After I hosted it there I extended my network connections on LinkedIn from 1k to 4k only for few weeks. Also, you can create any other way to run this script repeatedly.
Could I add all people from LinkedIn to my network?
Unfortunately NOT! According to LinkedIn's rolls you can have at most 30k connections. In case you would like to add someone more, you will have to remove someone previously.
What if I receive message like this:

That is LinkedIN's Invitation Restrictions. Long story short: that mean that you are trying to add a lot of new conections in short term. I would like to suggest you to use LinkedIn Premium because it allows add much more people. It is one month free trial, and that should be enough for you. In case you are banned for a long time, you can see all sent invitations here and withdrow some of them. Read more about this you can here
You can easily collect a large amount of recruiters information from different companies
Install NodeJS
Clone repo:
git clone https://github.com/mkotsabiuk/ConnectedIn.git
Go to the source folder
cd ConnectedIn
Install dependencies:
npm i
Add li_at cookie value from your LinkedIn account to run.js file here
// process.env["li_at"] = "";
and uncomment this line of code OR you can just add an environment variable named li_at with cookie value.
Choose available company name from CompaniesPages.js file (you can also add any other company to the companies object) and insert company's name into run.js file
...
uri: companies['<company_name>'],
...
Run command
node Shared\run.js
Why do I need this spreadsheet?
You can use phantombuster service for automatng adding recruters from spreadsheet to your network.
Actually, it is easy to write the same functionality using puppeteer library



