Update Gemini.py

This commit is contained in:
H Lohaus 2024-02-09 18:47:57 +01:00 committed by GitHub
parent af204c31cb
commit 33b247305c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -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)