Quizlet-dl icon indicating copy to clipboard operation
Quizlet-dl copied to clipboard

TypeError: WebDriver.__init__() got an unexpected keyword argument 'executable_path'

Open ncorder opened this issue 1 year ago • 0 comments

Device Machine: x230 Thinkpad OS: Trisquel GNU/Linux (a fork of Ubuntu) Version: I ran git clone on November 26th of 2023

Log:

usr@computer:~/Applications/Quizlet-dl$ python3 quizlet-dl.py [url] [folder]
Traceback (most recent call last):
  File "/home/usr/Applications/Quizlet-dl/quizlet-dl.py", line 124, in main
    driver = webdriver.Firefox(executable_path = path+'\\geckodriver.exe',
TypeError: WebDriver.__init__() got an unexpected keyword argument 'executable_path'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/usr/Applications/Quizlet-dl/quizlet-dl.py", line 136, in <module>
    main()
  File "/home/usr/Applications/Quizlet-dl/quizlet-dl.py", line 133, in main
    driver.quit()
UnboundLocalError: local variable 'driver' referenced before assignment
usr@computer:~/Applications/Quizlet-dl$ 

My theory is perhaps it does not currently support all operating systems. I had moved a copy of the executable for geckodriver into the folder, however it appears to utilize the .exe file.

ncorder avatar Nov 27 '23 02:11 ncorder