How to collect all the emails of my LinkedIn contacts
In this guide, we’ll show you hoe to scrape rifle links, open those links and scrape the users email address.
Effortless LinkedIn Email Scraping Made Easy: A Comprehensive Guide
Hey there, fellow tech enthusiasts! Ever wished there was a way to simplify the process of gathering email addresses from your LinkedIn connections? Well, you're in for a treat because today, we're going to walk you through a step-by-step tutorial on how to achieve just that using the power of automation. We all know the pain of manually collecting data – the endless copying, pasting, and scrolling. But fear not, because with the magic of automation, you can streamline this process and get those coveted email addresses with minimal effort. So, let's jump right in!
Setting the Stage
Let's kick things off with a friendly greeting and a sneak peek into the magic we're about to unleash. And guess what? You won't need a toolbox full of gadgets for this journey – just grab your trusty Google Sheet and make sure those headers are in place. Yup, that's all we need.
Video tutorial explaining everything.
Get ready to revolutionize your LinkedIn game! We start with a warm hello and a sneak peek into the awesomeness ahead. No need for complicated tools here – just your trusty Google Sheet with some snazzy headers.
Full step to step guide.
We kick things off by capture steps
¹ for our LinkedIn email scraping mission. This involves setting up the automation to handle the data collection process seamlessly. So lets click on the capture steps
¹ button
Before we dive into action, we give a quick heads-up about waiting for the recording window
¹, ensuring everything is synced and ready to roll.
Logging in to LinkedIn
Time to connect the dots – we guide you through the process of linking up with your Google account
for smooth integration. We click on the Continue with Google
¹ button and we sign in like we normally would on google. In this case we see a 2-Step Verification
² pop-up, lets verify
³ your account this one time and deal with it later.
Verification time! after we get (in this case) this 2FA code
¹ we click on Next
².
Navigating LinkedIn
Now, let's get to the heart of the matter. We guide you through navigating to your My Networks
¹ section on LinkedIn, setting the stage for our data extraction adventure.
Once the window is visible, direct your attention to the left-hand side of the page, where you'll spot theConnections
¹ tab. Clicking on this option is crucial, as it is precisely where we'll find the email addresses of our connections.
Choosing the Target URL
Here's the URL
¹ we're going to be working with: https://www.linkedin.com/mynetwork/invite-connect/connections/ – the link that holds the key to the data we seek. In order for this to we, we have to select the scraping lists
² button for efficient data collection.
We roll up our sleeves and demonstrate how to scrape a list
¹ of usernames. We first have to select two of the same elements. For this example we’re using two usernames
². When we click on this username, well see the information stored in our Recording Bar. As you can see, scraping this option gives us a pop. We have two options. One for Text
³ and one for URL
⁴, we are going to be choosing both Text
³ and URL
⁴, for a comprehensive data capture. We’ll cover what each of them does later on, but if you really want to see, click here.
Scraping Email: Clicking Contact Info
Time to take a more personalized approach. Once we've wrapped up the essential data scraping, let's navigate to any profile
¹ – just as you would on any standard browser. Upon landing on the profile's homepage
, you'll have the freedom to scrape a variety of information. However, for our current focus, we're zooming in on the Contact Info
².
Simply click the Contact Info
² button, and voila, a popup appears. Within this popup, you'll find the user's email address
⁴. To ensure precision and avoid unnecessary repetition of elements, we're opting for a scrape text
³ technique here. This allows us to extract a single element – the email address
⁴. We’ll cover what it does later on, but if you really want to see, click here.
Mission accomplished! We show you how to gracefully stop recording
¹ once your desired data has been successfully scraped.
Exporting Data to Google Sheet
The harvested data needs a home, right? We can send this information to a Google Sheet¹
or to a Webhook
². For this example we’re going to be using Google Sheets¹
.
After opting for the Google Sheet choice, a pop-up window will appear. Here, the task at hand involves linking our Google Sheet and verifying the accuracy of our headers and worksheet. If all appears in order
¹, simply proceed to click the Looks good²
button.
Allowing Errors and Deleting Steps
In the realm of automation, adaptability reigns supreme. Remember the captcha we had in the begging? We shed light on a powerful feature – the ability to Allow errors
¹ and effortlessly Delete steps
ᄇ, giving you full control over your automation journey. Any of these two options can solve this one time issue, but just for this automation (because we are doing 2FA). If you are trying with something else, the solution will most likely be the same steps, if it still doesn't work please check Have an issue running your automation? Check these three steps.
Embark on a journey into the realm of the URL
¹ ² option, effortlessly weaving it into the fabric of your data collection approach. The objective: enhance the efficiency of your process, ensuring a seamless experience. To incorporate this URL
¹ , simply tap the green +
sign located between the steps. Rest assured, we'll tidy up by removing step 2
²
and step 3
² down the line. For now, they serve as placeholders, guiding you to the exact spot for placing the link.
Opting for the URL Option
Watch as we effortlessly glide through the task of pasting the URL
¹ into its designated spot, ensuring an uninterrupted flow of data. For this we click on the URL
¹ option shown bellow.
Back to the URL that holds the key to your LinkedIn connections. We navigate you through the process of adding the cornerstone URL:
https://www.linkedin.com/mynetwork/invite-connect/connections/
¹. Once you’ve placed the URL, you can click on save
².
Adding a Step for Scraping Many Links
Elevating efficiency to unprecedented levels! We unveil a revolutionary approach – harnessing the scraped many links
step as a dynamic variable – tapping into automation's prowess to elevate the potency of your data collection endeavors. Similar to the preceding step, we seamlessly incorporate a URL
, and strategically position this dynamic variable where we initially clicked on the username profile
². In the context of this instance, envision clicking on Juan Carlos Banos
²profile link; thus, we position the variable
¹ just prior to step 5
², the pivotal click on the green +
¹ button will unveil all the links profile details.
The Significance of Step 4
During the process of scraping the My Connections page, a choice arose between text and URL
extraction. Step 4
served as the designated repository for these URLs
. Now, we are set to harness the power of step 4
as a dynamic variable, utilizing it to efficiently access and open the collected links.
With a clear understanding of step 4
significance and having seamlessly integrated a subsequent step to opt for URLs once again, we find ourselves at a juncture where we won't be inserting any new links. Instead, we'll strategically insert the variable @step4
– this is where the magic happens. After selecting step 4
, a simple click on Save
is all that's needed.
Setting the Loop in Motion
The moment of automation truth has arrived. We demonstrate the art of setup trigger
, initiating a beautifully orchestrated dance of data collection.
Choice and Focus: Skipping Google Sheet for Loop Setup
Decisions, decisions. We dive into the choice of Skip
Google Sheet setup, or to Setup
a Google Sheet with data, enabling you to hone in on the loop setup and maximize your efficiency. But for this moment we want to skip this step. I you want to know What’s the difference between exporting and importing data from Google Sheets?
Strategizing Loop Count: Navigating Loop Iterations
Navigating the loop count
waters can be a breeze with our guidance. We walk you through the process of determining the number
of iterations – in this case, we've chosen 5
for illustrative purposes.
Loop time! Setup a schedule for your run.
We delve deeper into the intricate art of scheduling
¹ the loop, ensuring a flawless execution that aligns with your objectives. But in this example, simply by clicking Continue
² is more than enough.
Tailoring Precision: Fine-Tuning the Loop Trigger
Customization at its finest. We empower you to fine-tune the loop trigger to suit your specific needs, ensuring a data collection masterpiece. for this example, we’re going to be loop from Step 5
which is the scraped URL’s we got from the scraping lists button , all the way to Step 7
. This is where we scraped the users email address.
Now we just adjust the loop slider
¹ to the steps desired (in this case Step 5
through Step 7
) and then we can press Play steps
and see our app do its Magic.
Witnessing the Marvel: Observing Automation Unfold
You are about to witness the magic of automation. We will show you how it works and how to handle any unwanted tabs
³ that may pop up. You can stop
or pause
¹ this automation at any time. The automation will take place in the first tab
². If you see any new tabs
³ that you don’t want, you can close
⁴ them or switch back to the first tab
². It’s up to you because our automation runs independently
from your normal browsing experience. For example, you can watch a YouTube video in the same browser where the automation is running and it won’t affect the automation (unless you close the main tab
²).
The loop elegantly navigates through the array of URL
¹ links, optimizing your data collection process like never before. At step 4
¹, you can see the URL
¹ of the variable take its place. You can also see the automation clicking
² on the exact same elements
² ³ I did in the recording, and you can see the email
³ being scraped from all the links we scraped either.
It’s a moment of triumph and validation when that cherished complete
¹ notification graces your screen. You know you’ve surmounted the automation challenge victoriously. Curious? We guide you to the ultimate destination - your Google Sheet
². Behold the results of your labor, neatly organized
³ and ready for your perusal. As you can see, column one
has the profile name
, column two
has the links
we looped through (in this case it was @step 4
), and we can see the five loops
we did in the third column
⁴
And now it's your turn! Dive right in and give it a go. Remember, practice makes perfect. Reflect on your journey from automation initiation to efficient data scraping. Your LinkedIn email scraping skills have reached new heights. Get out there and make the most of your newfound prowess!