-
Notifications
You must be signed in to change notification settings - Fork 32
Random login with LinkedIn #66
Comments
Hi, @vi2606 have you supplied the correct path after installing chrome web driver? |
It worked before, last few days I would find myself logged out of Lynda(in browser). Yesterday Lynda wouldnt let me log in with Lynda credentials, I had to use sign in with LinkedIn. As I said, everything worked till today. Btw, where I put those chrome options that you sent me(I never programmed Python )? Thanks |
# open exercise_file.py and look at line 31
chrome = webdriver.Chrome('/usr/local/bin/chromedriver', chrome_options=chrome_options)
# '/usr/local/bin/chromedriver', should be missing which is the path for chrome driver So do you mean you were able to download exercise file and all of sudden it stopped working, that's weird didn't happen to me yet but yeah after LinkedIn bought Lynda they are changing a lot of things in order to tailor it for LinkedIn Learning. |
My file: Exactly, I setup Lyndor no prob, used Lynda login credentials and downloaded flawlessly. We will see |
@vi2606 sorry for the delay, are you still getting this error? |
Hello!
Im getting this crashes, Lynda ask for sign in via LinkedIn.
Then I use cookies as login but then Im not getting exercise files.
Thanks
Traceback (most recent call last):
File "run.py", line 137, in
main()
File "run.py", line 36, in main
schedule_download(url)
File "run.py", line 55, in schedule_download
download_course(url)
File "run.py", line 118, in download_course
exercise_file.download(url, course_folder_path, cookie_path)
File "/home/vi420/Downloads/Lyndor/module/exercise_file.py", line 36, in download
regular_login(url, course_folder, driver)
File "/home/vi420/Downloads/Lyndor/module/exercise_file.py", line 177, in regular_login
EC.presence_of_element_located((By.CSS_SELECTOR, "#password-input")))
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/support/wait.py", line 71, in until
value = method(self._driver)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/support/expected_conditions.py", line 63, in call
return _find_element(driver, self.locator)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/support/expected_conditions.py", line 401, in _find_element
raise e
selenium.common.exceptions.WebDriverException: Message: chrome not reachable
(Session info: chrome=69.0.3497.100)
(Driver info: chromedriver=2.35.528139 (47ead77cb35ad2a9a83248b292151462a66cd881),platform=Linux 4.15.0-34-generic x86_64)
The text was updated successfully, but these errors were encountered: