from linkedin_scraper import Person, actions
from selenium import webdriver
driver = webdriver.Chrome('location of driver')
email = "username"
password = "password"
actions.login(driver, email, password)
person = Person("https://www.linkedin.com/in/khushi-thakkar-906b56188/", driver=driver)
person.scrape(close_on_complete=False)
print(person)
But I am constantly getting the following error (even though I have logged into linkedin) -
you are not logged in!
please verify the capcha then press any key to continue...
You need to verify that you are not a bot by manually filling out CAPTCHA. So when chrome starts up, you can manually enter the CAPTCHA code, and when you get to the main page, you can start the scraping process
Following is my code -
But I am constantly getting the following error (even though I have logged into linkedin) - you are not logged in! please verify the capcha then press any key to continue...