LinkedIN Scrapper Actor avatar
LinkedIN Scrapper Actor

Pricing

Pay per usage

Go to Store
LinkedIN Scrapper Actor

LinkedIN Scrapper Actor

Developed by

Ayan Sarkar

Ayan Sarkar

Maintained by Community

The LinkedIN Profile Scrapper Task Code Work Through Video https://www.loom.com/share/30f2e1a109d84a32a198b3f91418eeb6

0.0 (0)

Pricing

Pay per usage

0

Total users

5

Monthly users

5

Runs succeeded

>99%

Last modified

24 days ago

You can access the LinkedIN Scrapper Actor programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4# Replace '<YOUR_API_TOKEN>' with your token.
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7# Prepare the Actor input
8run_input = { "cookies": [
9 {
10 "name": "li_at",
11 "value": "AQEDATBF1fcFFWD-AAABl0EnCcsAAAGXZTONy1YAvG6K6g1h7OFSD6AxUs5LKID3G40ZzP9vr_ziWH4sAmKlKRmnsr8EUg6e7luwOD13h9iZKs2nDU2iI6ozQP1I_P_60--6RI-wv-sWuKJuE3RsYiEW",
12 "domain": ".linkedin.com",
13 "path": "/",
14 "httpOnly": True,
15 "secure": True,
16 "sameSite": "None",
17 },
18 {
19 "name": "JSESSIONID",
20 "value": "ajax:7961322262816580745",
21 "domain": ".www.linkedin.com",
22 "path": "/",
23 "httpOnly": True,
24 "secure": True,
25 "sameSite": "None",
26 },
27 ] }
28
29# Run the Actor and wait for it to finish
30run = client.actor("ayanxsarkar/linkedin-scrapper-actor").call(run_input=run_input)
31
32# Fetch and print Actor results from the run's dataset (if there are any)
33print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
34for item in client.dataset(run["defaultDatasetId"]).iterate_items():
35 print(item)
36
37# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

LinkedIN Scrapper Actor API in Python

The Apify API client for Python is the official library that allows you to use LinkedIN Scrapper Actor API in Python, providing convenience functions and automatic retries on errors.

Install the apify-client

$pip install apify-client

Other API clients include: