-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YouTube.py not loading Firefox binary even if i try setting its absolute path #111
Comments
What is your config? |
{ |
I even tried editing Youtube.py to have this change
and it still doesn't work |
It doesn't seem like you have the correct firefox profile path set. Is /d/profile a valid firefox profile? Also, try to use it on a Windows Native Drive, not WSL. |
tried it on Windows and i get an error for all of the moviepy imports stating that they werent available from moviepy, /mnt/d/profile is a valid path and is the path to the folder of the profile i made in Firefox specifically for MoneyPrinter |
Traceback (most recent call last):
File "/mnt/d/MoneyPrinterV2/src/main.py", line 436, in
main()
File "/mnt/d/MoneyPrinterV2/src/main.py", line 132, in main
youtube = YouTube(
File "/mnt/d/MoneyPrinterV2/src/classes/YouTube.py", line 83, in init
self.browser: webdriver.Firefox = webdriver.Firefox(service=self.service, options=self.options)
File "/mnt/d/MoneyPrinterV2/venv/lib/python3.10/site-packages/selenium/webdriver/firefox/webdriver.py", line 71, in init
super().init(command_executor=executor, options=options)
File "/mnt/d/MoneyPrinterV2/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 250, in init
self.start_session(capabilities)
File "/mnt/d/MoneyPrinterV2/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 342, in start_session
response = self.execute(Command.NEW_SESSION, caps)["value"]
File "/mnt/d/MoneyPrinterV2/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 429, in execute
self.error_handler.check_response(response)
File "/mnt/d/MoneyPrinterV2/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 232, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidArgumentException: Message: binary is not a Firefox executable
The text was updated successfully, but these errors were encountered: