sinedie / SRTranslator

SRT files translator
Do What The F*ck You Want To Public License
219 stars 27 forks source link

TypeError #97

Closed h9052300 closed 3 weeks ago

h9052300 commented 3 weeks ago

Traceback (most recent call last): File "C:\Users\x1090102\PycharmProjects\flask_view\videoToOOXX\srtranslatorTest.py", line 31, in translator = DeeplTranslator() ^^^^^^^^^^^^^^^^^ File "C:\Users\x1090102\PycharmProjects\flask_view\venv\Lib\site-packages\srtranslator\translators\deepl_scrap.py", line 66, in init self._rotate_proxy() File "C:\Users\x1090102\PycharmProjects\flask_view\venv\Lib\site-packages\srtranslator\translators\deepl_scrap.py", line 94, in _rotate_proxy self.driver = create_driver(proxy) ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\x1090102\PycharmProjects\flask_view\venv\Lib\site-packages\srtranslator\translators\selenium_utils.py", line 59, in create_driver driver = webdriver.Firefox(proxy=proxy) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: WebDriver.init() got an unexpected keyword argument 'proxy'

h9052300 commented 3 weeks ago

Updated and fixed. thx.