linouk23/youtube_uploader_selenium

can't login via firefox 77

mazouz01 opened this issue · 4 comments

Couldn’t sign you in
This browser or app may not be secure. Learn more
Try using a different browser. If you’re already using a supported browser, you can try again to sign in.

Solved by login using :
FirefoxProfile('C:\\Users\\UserName\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\xxxxxxx.default-release')

Where did you put this code?

Solved by login using : FirefoxProfile('C:\\Users\\UserName\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\xxxxxxx.default-release')

Can you be more specific,. where you specify to use this profile?

found where is it.
location on ubuntu 20.04 /.local/lib/python3.8/site-packages/selenium_firefox/firefox.py
in line:
profile = webdriver.FirefoxProfile()
you need to enter your firefox profile locatation
profile = webdriver.FirefoxProfile('/home/your_user_name/.mozilla/firefox/some_letters.default-release/')
after first sucessul upload, you can enter export MOZ_HEADLESS=1 to prevent firefox to open gui when uploading