-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Fix conversation signature #56
base: main
Are you sure you want to change the base?
Fix conversation signature #56
Conversation
781227f
to
a4cd808
Compare
@@ -312,7 +317,15 @@ export class BingChat { | |||
credentials: 'include' | |||
}).then((res) => { | |||
if (res.ok) { | |||
return res.json() | |||
const conversationSignature = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my testing, we only need lines 320-326 and 83-85. I didn't need to update the SRCHHPGUSR cookie or other headers.
no work |
looks like bing changed their api \ |
@rnz269 Any plans for new pr? |
this pr is still working for me. Thanks |
I agree with renzhxr it does not work anymore. |
The conversation signature header is encrypted. |
@maddoglv before you get your cookies, you need to send a message first after bing responded to your request get your cookie |
As of bing's last update, this library is broken due to bing changing auth requirements. This fixes it.