LinkedIn Scraping Script for Sales Outreach Success
I found a cool sales hack yesterday. An influencer posted and he got 2K+ comments and I wanted to scrape the LinkedIn profiles of everyone that commented. Wrote this little script that does that. Copied all the profiles and dumped it into Dripify for outreach. Here’s the script if you wanna use it too:
const hrefs = Array.from(
new Set(
Array.from(document.querySelectorAll('.comments-comment-meta__image-link'))
.map(a => a.href)
)
);
console.log(hrefs);