Skip to content

Cookie Illegal key #179

@myjigglybelly

Description

@myjigglybelly

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions