😎
Templates
LinkedIn
Google Analytics
Google Drive
Google Search
Google Sheets
Hugging Face
Johns Hopkins
Jupyter Notebooks
Metrics Store
Microsoft Teams
Microsoft Word
Naas Auth
Get identity from profile
Tags: #linkedin #profile #identity #naas_drivers
Author: Florent Ravenel

Input

Import library

from naas_drivers import linkedin

Get your cookies

LI_AT = 'YOUR_COOKIE_LI_AT' # EXAMPLE AQFAzQN_PLPR4wAAAXc-FCKmgiMit5FLdY1af3-2
JSESSIONID = 'YOUR_COOKIE_JSESSIONID' # EXAMPLE ajax:8379907400220387585

Enter profile URL

PROFILE_URL = "PROFILE_URL"

Model

Get the information return in a dataframe. Available columns :
  • PROFILE_URN : LinkedIn unique profile id
  • PROFILE_ID : LinkedIn public profile id
  • FIRSTNAME
  • LASTNAME
  • SUMMARY
  • OCCUPATION
  • INDUSTRY_NAME
  • ADDRESS
  • REGION
  • COUNTRY
  • LOCATION
  • BIRTHDATE
df = linkedin.connect(LI_AT, JSESSIONID).profile.get_identity(PROFILE_URL)

Output

Display result

df
Copy link
Edit on GitHub
On this page
Input
Model
Output