Skip to content
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

Error #14

Open
meeseeks-code opened this issue Jul 31, 2022 · 1 comment
Open

Error #14

meeseeks-code opened this issue Jul 31, 2022 · 1 comment

Comments

@meeseeks-code
Copy link

meeseeks-code commented Jul 31, 2022

  • Trying to log in ... *
    Cookies baked!
    Traceback (most recent call last):
    File "/Users/ITPROTV-DL/driver.py", line 93, in
    raise e
    File "/Users/ITPROTV-DL/driver.py", line 89, in
    browser.add_cookie(cookie)
    File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 894, in add_cookie
    self.execute(Command.ADD_COOKIE, {'cookie': cookie_dict})
    File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
    File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
    selenium.common.exceptions.InvalidCookieDomainException: Message: invalid cookie domain: Cookie 'domain' mismatch
    (Session info: headless chrome=103.0.5060.134)
@meeseeks-code meeseeks-code changed the title Invalid Syntax driver.py Error Jul 31, 2022
@Jim-Manolopoulos
Copy link

Hello,

open the cookies.txt file in your text editor and comment all the lines starting with “www” and “.www”. This will fix the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants