Srap scrap scrap! And scrap people profile from LinkedIn.
REMINDER: Only for educational purpose
Install dependencies, please install pipenv.
$ pipenv shell --three && pipenv install
To scrap, we need to be authenticated by providing our linkedin cookies in JSON format. You can get your cookies with some chrome extension like EditThisCookie and follow its instruction. After that create a JSON file and paste in.
Run the main.py, we must provide action, url, save and and cookies argument.
$ python main.py --action=full --url=https://www.linkedin.com/in/{USER_PUBLIC_IDENTIFIER}/ --cookies=./cookies.json --save=./result.csv
Parameter | usage |
---|---|
action |
|
url | user profile url that we want to scrap |
cookies | path to the cookies |
save | csv filename |