-
A command line terminal, if you're not familiar with it you can read this post explaining the basics. For the best experience, we recommend you iTerm2 an alternative to the pre-install macOS terminal.
-
The JavaScript runtime Node.js. If you're a brew user you can simply
brew install node
, otherwise you can download it here. Moreover here's an article where you can find more information about how to install it and use it. -
The distributed version control system Git. If you're a brew user you can simply
brew install git
. Git'll be necessary to clone this repository on your computer
To be sure both of these tools are OK, open a terminal and run:
▶ node -v
v10.7.0
▶ npm -v
6.2.0
▶ git --version
git version 2.17.2 (Apple Git-113)
And check the version of node installed is upper or equal to 8.
- Clone this repository
▶ git clone https://github.com/aureeaubert/linkedin-workshop-template.git
- Open the repository
▶ cd linkedin-workshop-template
And open this folder with the editor of your choice
- Intall dependencies
▶ npm install
- Execute it:
▶ node ./scrape-profile-usernames.js <linkedin search url> <session cookie>
▶ node ./scrape-profiles.js <session cookie>
Note: session cookie
corresponds to the LinkedIn authentication cookie named li_at