Linkedin profile scraper avatar

Linkedin profile scraper

Try for free

3 days trial then $25.00/month - No credit card required now

View all Actors
Linkedin profile scraper

Linkedin profile scraper

curious_coder/linkedin-profile-scraper
Try for free

3 days trial then $25.00/month - No credit card required now

Scrape linkedin profile urls and get complete profile details including basic info, position history, skills, company details, bio, location, etc

SK

I want to scrap using python

Closed

Stuti_Kumari opened this issue
4 months ago

please give me the sample of cookies data format from apify_client import ApifyClient

Initialize the ApifyClient with your API token

client = ApifyClient('')

Prepare the input for the LinkedIn Profile Scraper actor

input_data = { 'urls': [ 'https://www.linkedin.com/in/debarka-sengupta-3607517', ], # List of LinkedIn profile URLs 'resultsLimit': 10, # Adjust the number of results as needed 'includePosts': True, # Include posts and likes in the scrape 'includeJobs': True, # Include job information in the scrape 'cookie': ['AQEDARIW2N0DiI-uAAABkKuxYH8AAAGQz73kf1YAqqDCezggy3flQLzc7S8xqzDC3cM0qxOjYqWoZStUqUfuL8UCizVuOgsCAQmW09P1lsOTQs1_kRA262Dy1upuSbxUy5TI15dBzCPVbYRH-TbmbrKh'], # Replace with your desired cookie value }

Run the actor and wait for it to finish

run = client.actor('curious_coder/linkedin-profile-scraper').call(run_input=input_data)

Fetch and print actor results

results = client.dataset(run['defaultDatasetId']).list_items().items for item in results: print(item)

SK

Stuti_Kumari

4 months ago

from apify_client import ApifyClient

Initialize the ApifyClient with your API token

client = ApifyClient('')

Prepare the input for the LinkedIn Profile Scraper actor

input_data = { 'urls': [ 'https://www.linkedin.com/in/debarka-sengupta-3607517', ], # List of LinkedIn profile URLs 'resultsLimit': 10, # Adjust the number of results as needed 'includePosts': True, # Include posts and likes in the scrape 'includeJobs': True, # Include job information in the scrape 'cookie': ['AQEDARIW2N0DiI-uAAABkKuxYH8AAAGQz73kf1YAqqDCezggy3flQLzc7S8xqzDC3cM0qxOjYqWoZStUqUfuL8UCizVuOgsCAQmW09P1lsOTQs1_kRA262Dy1upuSbxUy5TI15dBzCPVbYRH-TbmbrKh'], # Replace with your desired cookie value }

Run the actor and wait for it to finish

run = client.actor('curious_coder/linkedin-profile-scraper').call(run_input=input_data)

Fetch and print actor results

results = client.dataset(run['defaultDatasetId']).list_items().items for item in results: print(item)

curious_coder avatar

In order to quickly identify the reason of your issue, I need to inspect your run.

Please share the URL of the run where you faced this issue. You can find your runs on this page: https://console.apify.com/actors/runs

curious_coder avatar

Sorry, I won't be able to help with external code.

Developer
Maintained by Community
Actor metrics
  • 206 monthly users
  • 46 stars
  • 83.8% runs succeeded
  • 6.7 days response time
  • Created in Sep 2023
  • Modified about 1 month ago