Of course, it only works if you have an active Sales Navigator account.
Launch LinkedIn Sales Navigator Search Export that will export in CSV the URL profile link of every person appearing in the search results.
You can also decide on which circles (1st, 2nd &/or 3rd) you wish to launch the search.
What will you need? ⚙️
Session cookie: Your session Cookie from LinkedIn
Search: What terms to search on the LinkedIn search engine
Number of profiles: How many profiles should the bot try to scrape?
(You already have all that? Click straight away on "Use this API")
Which steps to follow?
1. Create an account on Phantombuster.com 💻
If you haven't already, create a FREE account on Phantombuster. Our service will browse the web for you. It’s a website automator which runs in the cloud. Once done we'll follow up.
2. Use this API on your account.👌
Now that you're connected to Phantombuster, Click on the following button (it will open a new tab).
3. Click on Configure me!
You'll now see the 3 configuration dots blinking. Click on them.
4. Linkedin authentication 🔑
Because the script will manipulate LinkedIn for you, it needs to be logged on your LinkedIn account. For that you just need to copy paste your session cookie in the script argument:
Using Chrome, go to your LinkedIn homepage and open the inspector
→ Right click anywhere on the page and select “Inspect”
→ CMD+OPT+i on macOS
→ F12 or CTRL+MAJ+i on Windows
Locate the “Application” tab
Select “Cookies” > “http://www.linkedin.com” on the left menu.
Locate the “li_at” cookie.
Copy what’s under “Value” (Double click on it then Ctrl+C) and paste it into your script Argument)
Even more advanced: You can also paste into the search field a LinkedIn Sales Navigator search page URL. That is, make an advanced search yourself on LinkedIn and copy-paste the URL you're sent to into the field. Be careful not to use a regular LinkedIn search though.
6. How many profiles?
Define here the number of profiles you want the bot to scrape.
Click on Launch & Enjoy!
It’s done! All that is left to do is to click on "launch" and watch your API do the work for you!
This API will output CSV and/or JSON containing the following fields:
url (LinkedIn Sales Navigator profile URL)
name (Full name of the person)
title (Title of the job)
degree (Your degree of Connection with that profile)
query (Corresponding search query that lead to this result)
defaultProfileUrl (Regular LinkedIn profile URL - if converting each profile link)
Share this API
Your friends & colleagues need to know about this!