XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Update Gemini.py

33b24730
H Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +0 -1
Modified g4f/Provider/needs_auth/Gemini.py +0 -1
@@ -101,7 +101,6 @@ class Gemini(AsyncGeneratorProvider):
101 101 ) as session:
102 102 async with session.get(cls.url, proxy=proxy) as response:
103 103 text = await response.text()
104 open("test.html", "w").write(text)
105 104 match = re.search(r'SNlM0e\":\"(.*?)\"', text)
106 105 if match:
107 106 snlm0e = match.group(1)