Skip to content
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

Cookies File Doesn't Work #98

Closed
SilverNightFox opened this issue Aug 1, 2023 · 3 comments
Closed

Cookies File Doesn't Work #98

SilverNightFox opened this issue Aug 1, 2023 · 3 comments

Comments

@SilverNightFox
Copy link

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

@FuseFairy
Copy link
Owner

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

@SilverNightFox
Copy link
Author

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.

@FuseFairy
Copy link
Owner

Here is solution acheong08/EdgeGPT#586

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants