FuseFairy/DiscordBot-EdgeGPT

Cookies File Doesn't Work

Stixyie opened this issue · 3 comments

I Copy Cookie Information From bing.com with Chrome And I Save It Cookies File But I Try To Recopy It a Couple Of Times It's Still Doesn't Work It's Giving Me This Error I Don't Know What Should I Do But I Think The Error Related To The Cookies File Itself And The Error Message Is Here:

Traceback (most recent call last):
File "C:\Users^w^ Loona ^w^\Desktop\DiscordBot-EdgeGPT-main\bot.py", line 8, in
from cogs.event import set_chatbot
File "C:\Users^w^ Loona ^w^\Desktop\DiscordBot-EdgeGPT-main\cogs\event.py", line 26, in
cookies = json.load(file)
^^^^^^^^^^^^^^^
File "C:\Users^w^ Loona ^w^\AppData\Local\Programs\Python\Python311\Lib\json_init_.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File "C:\Users^w^ Loona ^w^\AppData\Local\Programs\Python\Python311\Lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users^w^ Loona ^w^\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users^w^ Loona ^w^\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

pycharm64_4Eaw8JZZZb

pls make sure your cookies copy from here https://bing.com/

pls make sure your cookies copy from here https://bing.com/

Discord_vDtDBVGy2w
I Fixed The Problem And Now Giving Me a New Problem I Reset The Cookies File With New Cookie And I Couple Time Restard The Bot But The Error Still Keep Exist When I Ask Something To And Bot Please Fix This Problem
Error: CaptchaChallenge: User needs to solve CAPTCHA to continue.

Here is solution acheong08/EdgeGPT#586