J4NN0 / linkedin-web-scraper

Python Web Scraper for LinkedIn to collect and store company data (e.g. name, description, industry, etc.) into .xls file
https://youtu.be/2pSjPOuMDhk
GNU General Public License v3.0
36 stars 8 forks source link

Unable to login to LinkedIn #3

Open Omer-remo opened 1 year ago

Omer-remo commented 1 year ago

Hello, when I run the script, the email and password fields are filled automatically on the LinkedIn login page, but the login button does not click. I get an error like this in the console because it doesn't login. Error code:

File "C:\Users\oktay\Desktop\linkedin-web-scraper\venv\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="app__container"]/main/div/form/div[3]/button"} (Session info: chrome=111.0.5563.65)

Process finished with exit code 1

Linkedin

can you help me? thanks

batuhantoker commented 1 year ago

In the log_in function change it to send return key instead of clicking the submit button. Good luck with the upcoming issues you gonna face