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

Cookie Illegal key #179

Open
myjigglybelly opened this issue Aug 26, 2024 · 0 comments
Open

Cookie Illegal key #179

myjigglybelly opened this issue Aug 26, 2024 · 0 comments

Comments

@myjigglybelly
Copy link

myjigglybelly commented Aug 26, 2024

I got the Bing 'cookie' from create?bundleVersion (the cookie text length is long) but when I set the os.environ I get an error prompt saying:

File "C:\Users\richa.LAPTOP-F3I1MAE7\AppData\Local\Programs\Python\Python312\Lib\http\cookies.py", line 488, in __set
M.set(key, real_value, coded_value)
File "C:\Users\richa.LAPTOP-F3I1MAE7\AppData\Local\Programs\Python\Python312\Lib\http\cookies.py", line 353, in set
raise CookieError('Illegal key %r' % (key,))
http.cookies.CookieError: Illegal key '<MUID'

I made sure the it follows what's instructed in the pre-requisite: os.environ["BING_COOKIES"] = "< paste here >"
Not sure what I'm doing wrong unless the key that I'm copying is wrong. Thank you for your help in advance.

Capture

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

1 participant