xhcoding / emacs-aichat

AI Chat in Emacs, including OpenAI and Bing Chat
61 stars 10 forks source link

Bing does not give me a _U cookie #33

Open moaxey opened 11 months ago

moaxey commented 11 months ago

I have tried in my enterprise login and in private window. The cookies it has for me are:

SRCHD                                                                                                                                                                                                          
SRCHUID                                                                                                                                                                                                        
SRCHUSR                                                                                                                                                                                                        
BFB                                                                                                                                                                                                            
mapc                                                                                                                                                                                                           
ABDEF                                                                                                                                                                                                          
MUID                                                                                                                                                                                                           
OID                                                                                                                                                                                                            
OIDR                                                                                                                                                                                                           
ipv6                                                                                                                                                                                                           
EDGSRCHHPGUSR                                                                                                                                                                                                  
_clck                                                                                                                                                                                                          
_clsk                                                                                                                                                                                                          
ACL                                                                                                                                                                                                            
ACLUSR                                                                                                                                                                                                         
OIDI                                                                                                                                                                                                           
ipv6                                                                                                                                                                                                           
SRCHHPGUSR                                                                                                                                                                                                     
USRLOC                                                                                                                                                                                                         
_EDGE_S                                                                                                                                                                                                        
_RwBf                                                                                                                                                                                                          
_Rwho                                                                                                                                                                                                          
_SS                                                                                                                                                                                                            
dsc                                                                                                                                                                                                            
GC                                                                                                                                                                                                             
BFBFB                                                                                                                                                                                                          
xhcoding commented 11 months ago

I'm not sure why this is happening. You can try other methods to get the cookie

mistical2008 commented 5 months ago

I'm not sure why this is happening. You can try other methods to get the cookie

It doesn't depends on method. Bing changes ai-related cookie name.

mistical2008 commented 5 months ago

@xhcoding Maybe it would be better to place some guide to get required cookie. I mean how to find out it in the bing cookies json. Or maybe use some package parameter to set this cookie field from the package user side. Or maybe both.

mistical2008 commented 5 months ago

@xhcoding sorry. Things works well. @moaxey just login in Edge to have _U