summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/needs_auth/Gemini.py
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-02-09 18:47:57 +0100
committerGitHub <noreply@github.com>2024-02-09 18:47:57 +0100
commit33b247305c84ee6917ed8d3d2a10873646379730 (patch)
tree3deecb18f982e133cb3b0337ffb0bdcbb607a212 /g4f/Provider/needs_auth/Gemini.py
parentRead cookies from config in Gemini (diff)
downloadgpt4free-33b247305c84ee6917ed8d3d2a10873646379730.tar
gpt4free-33b247305c84ee6917ed8d3d2a10873646379730.tar.gz
gpt4free-33b247305c84ee6917ed8d3d2a10873646379730.tar.bz2
gpt4free-33b247305c84ee6917ed8d3d2a10873646379730.tar.lz
gpt4free-33b247305c84ee6917ed8d3d2a10873646379730.tar.xz
gpt4free-33b247305c84ee6917ed8d3d2a10873646379730.tar.zst
gpt4free-33b247305c84ee6917ed8d3d2a10873646379730.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/needs_auth/Gemini.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/g4f/Provider/needs_auth/Gemini.py b/g4f/Provider/needs_auth/Gemini.py
index cf739a22..32510505 100644
--- a/g4f/Provider/needs_auth/Gemini.py
+++ b/g4f/Provider/needs_auth/Gemini.py
@@ -101,7 +101,6 @@ class Gemini(AsyncGeneratorProvider):
) as session:
async with session.get(cls.url, proxy=proxy) as response:
text = await response.text()
- open("test.html", "w").write(text)
match = re.search(r'SNlM0e\":\"(.*?)\"', text)
if match:
snlm0e = match.group(1)