You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 12, 2024. It is now read-only.
My current IP is already blocked by google (403). I tried to use the Crawlbase proxy, but it does not seem to have any effect
fromgeminiimportGeminiproxy_url="http://MY_TOKEN:@smartproxy.crawlbase.com:8012"proxies= {"http": proxy_url, "https": proxy_url}
cookies= {}
client=Gemini(cookies=cookies, proxies=proxies, timeout=30, verify=False)
#client.session.header["crawlbaseAPI-Parameters"] = "country=US"response=client.generate_content("Hello, Gemini. What's the weather like in Seoul today?")
print(response.payload)
An unexpected error occurred: Gemini API Error: Response code 403
Details:
<Response [403]>
Excessive connections may have temporarily blocked your account/IP, but web UI should remain accessible.
Even if i rename crawlbase.com to something else like crawlbaqweqwese.qwqwecom, I won't get a different exception and the error is the same as above
v2.4.12
My current IP is already blocked by google (403). I tried to use the Crawlbase proxy, but it does not seem to have any effect
Even if i rename crawlbase.com to something else like crawlbaqweqwese.qwqwecom, I won't get a different exception and the error is the same as above