maximedrn / hcaptcha-solver-python-selenium

hCAPTCHA solver and bypasser for Python Selenium using a Tampermonkey userscript. Simple website to try to solve hCAPTCHA.
https://maximedrn.github.io/hcaptcha-solver-python-selenium/
Apache License 2.0
81 stars 31 forks source link

__init__() got an unexpected keyword argument 'log_level' #12

Closed nileszzy closed 2 years ago

nileszzy commented 2 years ago

Hello there, I just tried to use this, but got the following error messages:

Traceback (most recent call last):

File "D:/PycharmProjects/pythonProject/hcaptcha-solver/main.py", line 43, in <module>
  browser=1, headless=False, comments=True, download=False)
File "D:\PycharmProjects\pythonProject\hcaptcha-solver\app\hcaptcha.py", line 59, in __init__
  self.driver = self.geckodriver()
File "D:\PycharmProjects\pythonProject\hcaptcha-solver\app\hcaptcha.py", line 97, in geckodriver
  log_level=0).install()), options=options)

TypeError: __init__() got an unexpected keyword argument 'log_level'`
maximedrn commented 2 years ago

I changed the version of the modules in the requirements.txt file, reinstall them and it should work. The version 3.7.0 of the webdriver-manager module make new issues.

github-actions[bot] commented 2 years ago

Stale issue message