summaryrefslogtreecommitdiffstats
path: root/g4f/cookies.py
diff options
context:
space:
mode:
authorAmynov Islam Methyl Ogly <karasiq.gh.cru5k@simplelogin.co>2024-10-18 01:30:06 +0200
committerGitHub <noreply@github.com>2024-10-18 01:30:06 +0200
commit0ebc0d5e3e707c4784a5b51f3d888e66ec79d25d (patch)
tree373f3d588b1b7163c910fe640a37724133350085 /g4f/cookies.py
parentMerge pull request #2277 from kqlio67/main (diff)
downloadgpt4free-0ebc0d5e3e707c4784a5b51f3d888e66ec79d25d.tar
gpt4free-0ebc0d5e3e707c4784a5b51f3d888e66ec79d25d.tar.gz
gpt4free-0ebc0d5e3e707c4784a5b51f3d888e66ec79d25d.tar.bz2
gpt4free-0ebc0d5e3e707c4784a5b51f3d888e66ec79d25d.tar.lz
gpt4free-0ebc0d5e3e707c4784a5b51f3d888e66ec79d25d.tar.xz
gpt4free-0ebc0d5e3e707c4784a5b51f3d888e66ec79d25d.tar.zst
gpt4free-0ebc0d5e3e707c4784a5b51f3d888e66ec79d25d.zip
Diffstat (limited to '')
-rw-r--r--g4f/cookies.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/cookies.py b/g4f/cookies.py
index 0a25c41e..8d535ce7 100644
--- a/g4f/cookies.py
+++ b/g4f/cookies.py
@@ -34,6 +34,7 @@ DOMAINS = [
"www.whiterabbitneo.com",
"huggingface.co",
"chat.reka.ai",
+ "chatgpt.com"
]
if has_browser_cookie3 and os.environ.get('DBUS_SESSION_BUS_ADDRESS') == "/dev/null":
@@ -180,4 +181,4 @@ def _g4f(domain_name: str) -> list:
return []
user_data_dir = user_config_dir("g4f")
cookie_file = os.path.join(user_data_dir, "Default", "Cookies")
- return [] if not os.path.exists(cookie_file) else chrome(cookie_file, domain_name) \ No newline at end of file
+ return [] if not os.path.exists(cookie_file) else chrome(cookie_file, domain_name)