Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit ee6ac11

Browse files
authored
Merge pull request #16 from Integration-Automation/dev
Dev
2 parents 7a751b7 + 666c974 commit ee6ac11

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ if __name__ == "__main__":
158158

159159
## Getting authentication
160160
> ### Chromium based browsers (Edge, Opera, Vivaldi, Brave)
161-
> * Go to https://bing.com/.
161+
> * Go to https://bing.com/
162162
> * F12 to open console
163-
> * In the JavaScript console, type cookieStore.get("_U").then(result => console.log(result.value)) and press enter
163+
> * In the JavaScript console, type **cookieStore.get("_U").then(result => console.log(result.value))** and press enter
164164
> * Copy the output. This is used in --U or auth_cookie.
165165
166166
> ### Firefox
@@ -229,7 +229,10 @@ if __name__ == "__main__":
229229
<details open>
230230

231231
> * Q: Exception: UnauthorizedRequest: Cannot retrieve user status.
232-
> * A: Renew your cookies.
232+
> * A: Renew your cookie file.
233+
234+
> * Q: Exception: conversationSignature
235+
> * A: Clear all your bing cookie and renew your cookie file.
233236
234237
</details>
235238

re_edge_gpt/constants.py

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@
1313
"accept-language": "en-US;q=0.9",
1414
"accept-encoding": "gzip, deflate, br, zsdch",
1515
"content-type": "application/json",
16-
"sec-ch-ua": '"Not/A)Brand";v="99", "Microsoft Edge";v="115", "Chromium";v="115"',
16+
"sec-ch-ua": '"Chromium";v="116", "Not)A;Brand";v="24", "Microsoft Edge";v="116"',
1717
"sec-ch-ua-arch": '"x86"',
1818
"sec-ch-ua-bitness": '"64"',
19-
"sec-ch-ua-full-version": '"115.0.1901.188"',
20-
"sec-ch-ua-full-version-list": '"Not/A)Brand";v="99.0.0.0", '
21-
'"Microsoft Edge";v="115.0.1901.188", '
22-
'"Chromium";v="115.0.5790.114"',
19+
"sec-ch-ua-full-version": '"116.0.1938.62"',
20+
"sec-ch-ua-full-version-list": '"Chromium";v="116.0.5845.111", '
21+
'"Not)A;Brand";v="24.0.0.0", '
22+
'"Microsoft Edge";v="116.0.1938.62"',
2323
"sec-ch-ua-mobile": "?0",
2424
"sec-ch-ua-model": "",
2525
"sec-ch-ua-platform": '"Windows"',
2626
"sec-ch-ua-platform-version": '"15.0.0"',
2727
"sec-fetch-dest": "empty",
2828
"sec-fetch-mode": "cors",
2929
"sec-fetch-site": "same-origin",
30-
"sec-ms-gec-version": "1-115.0.1901.188",
30+
"sec-ms-gec-version": "1-116.0.1938.62",
3131
"x-ms-client-request-id": str(uuid.uuid4()),
32-
"x-ms-useragent": "azsdk-js-api-client-factory/1.0.0-beta.1 core-rest-pipeline/1.10.3 OS/Windows",
32+
"x-ms-useragent": "azsdk-js-api-client-factory/1.0.0-beta.1 core-rest-pipeline/1.12.0 OS/Windows",
3333
"Referer": "https://www.bing.com/search?",
3434
"Referrer-Policy": "origin-when-cross-origin",
3535
"x-forwarded-for": FORWARDED_IP,
@@ -40,23 +40,22 @@
4040
"accept": "application/json",
4141
"accept-language": "en-US;q=0.9",
4242
"cache-control": "max-age=0",
43-
"sec-ch-ua": '"Not/A)Brand";v="99", "Microsoft Edge";v="115", "Chromium";v="115"',
43+
"sec-ch-ua": '"Chromium";v="116", "Not)A;Brand";v="24", "Microsoft Edge";v="116"',
4444
"sec-ch-ua-arch": '"x86"',
4545
"sec-ch-ua-bitness": '"64"',
46-
"sec-ch-ua-full-version": '"115.0.1901.188"',
47-
"sec-ch-ua-full-version-list": '"Not/A)Brand";v="99.0.0.0", '
48-
'"Microsoft Edge";v="115.0.1901.188", '
49-
'"Chromium";v="115.0.5790.114"',
46+
"sec-ch-ua-full-version": '"116.0.1938.62"',
47+
"sec-ch-ua-full-version-list": '"Chromium";v="116.0.5845.111", '
48+
'"Not)A;Brand";v="24.0.0.0", '
49+
'"Microsoft Edge";v="116.0.1938.62"',
5050
"sec-ch-ua-mobile": "?0",
5151
"sec-ch-ua-model": '""',
5252
"sec-ch-ua-platform": '"Windows"',
5353
"sec-ch-ua-platform-version": '"15.0.0"',
5454
"upgrade-insecure-requests": "1",
5555
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
5656
"AppleWebKit/537.36 (KHTML, like Gecko) "
57-
"Chrome/115.0.0.0 "
58-
"Safari/537.36 "
59-
"Edg/115.0.1901.188",
57+
"Chrome/116.0.0.0 Safari/537.36 "
58+
"Edg/116.0.1938.62",
6059
"x-edge-shopping-flag": "1",
6160
"x-forwarded-for": FORWARDED_IP,
6261
}

0 commit comments

Comments
 (0)