We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've checked the cookie file, D:\study_score-master\cookie\cookie.json It's like this:
D:\study_score-master\cookie\cookie.json
[{'domain':` 'xuexi.cn', 'expiry': 1560931759.294422, 'httpOnly': False, 'name': 'token', 'path': '/', 'secure': False, 'value': '818e735c2e4c4c52acdc9049457382d2'}, {'domain': 'xuexi.cn', 'expiry': 1592446112.386617, 'httpOnly': False, 'name': '__UID__', 'path': '/', 'secure': False, 'value': '2342fcc0-9237-11e9-8327-c1dd3b179f3c'}]
then I got this error
Traceback (most recent call last): File "D:\study_score-master\spider\step_content.py", line 34, in <module> driver.add_cookie(i) File "D:\python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 894, in add_cookie self.execute(Command.ADD_COOKIE, {'cookie': cookie_dict}) File "D:\python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute self.error_handler.check_response(response) File "D:\python\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: invalid 'expiry' (Session info: headless chrome=75.0.3770.100)
why is the argument 'expiry' invalid?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've checked the cookie file,
D:\study_score-master\cookie\cookie.json
It's like this:
then I got this error
why is the argument 'expiry' invalid?
The text was updated successfully, but these errors were encountered: