wisnuprama / pyscrap

Srap scrap scrap! Let's scrap a person's LinkedIn profile.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyscrap

Srap scrap scrap! And scrap people profile from LinkedIn.

REMINDER: Only for educational purpose

Usage

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

Parameters

Parameter usage
action
  • full (user identifier, profile, skills, works, schools and connection)
  • profile (only user profile)
url user profile url that we want to scrap
cookies path to the cookies
save csv filename

About

Srap scrap scrap! Let's scrap a person's LinkedIn profile.

License:MIT License


Languages

Language:Python 100.0%