Antonio Cheong commited on
Commit
f9aa01e
·
1 Parent(s): ae7f94f

use edge URL

Browse files
Files changed (1) hide show
  1. src/EdgeGPT.py +1 -1
src/EdgeGPT.py CHANGED
@@ -118,7 +118,7 @@ class Conversation:
118
  cookie_file = json.loads(f)
119
  for cookie in cookie_file:
120
  self.session.cookies.set(cookie["name"], cookie["value"])
121
- url = "https://www.bing.com/turing/conversation/create"
122
  # Send GET request
123
  response = self.session.get(
124
  url,
 
118
  cookie_file = json.loads(f)
119
  for cookie in cookie_file:
120
  self.session.cookies.set(cookie["name"], cookie["value"])
121
+ url = "https://edgeservices.bing.com/edgesvc/turing/conversation/create"
122
  # Send GET request
123
  response = self.session.get(
124
  url,