Last active
June 9, 2022 09:33
-
-
Save voker2311/c8ff452fa6631f8aa6e629a33a4aa974 to your computer and use it in GitHub Desktop.
Scrape Linkedin to get corporate employee emails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in `seq 1 50 1000`;do | |
curl -H 'Cookie: <Cookie Value>' -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0" -H "Csrf-Token: ajax:7080997129483592561" -H "X-Restli-Protocol-Version: 2.0.0" -s "https://www.linkedin.com/voyager/api/search/dash/clusters?decorationId=com.linkedin.voyager.dash.deco.search.SearchClusterCollection-154&origin=SWITCH_SEARCH_VERTICAL&q=all&query=(keywords:trigyn%20technologies,flagshipSearchIntent:SEARCH_SRP,queryParameters:(resultType:List(PEOPLE)),includeFiltersInResponse:false)&start=$i&count=50" | jq -r .elements[].results[].title.text >> employees.txt | |
sleep 3; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment