-
-
Notifications
You must be signed in to change notification settings - Fork 531
One particular user's cookie gets invalidated after few calls (2/3/4/5) #58
Comments
Have you checked if the __Secure-1PSID value has changed? Although it is user-specific, it can also be tied to the IP address. There is also a possibility that the __Secure-1PSID value may change intermittently. |
I think you have problem that I have. it sometimes works with only __Secure-1PSID, sometimes needs __Secure-1PSIDTS, sometimes __Secure-1PSIDTS changes (like once in a day) |
Hi Daniel, Hi @MeemeeLab, do you mean you use '__Secure-1PSIDTS' cookie value while making Bard calls? Does that work? |
With recent update you can do something like this: from bardapi import BardCookies
cookie_dict = {
"__Secure-1PSID": "...",
"__Secure-1PSIDTS": "...",
}
bard = BardCookies(cookie_dict=cookie_dict)
print(bard.get_answer("Hello")) This commit is not published to pip so you have to install via |
Thanks @MeemeeLab |
There has not been any excessive usage for 3 users but one particular user's cookie gets invalidated after few calls. Once I log out and log in once again, it again works for a few times and then again returns "Check __Secure-1PSID value." Is this a user ban or a recent phenomenon or anybody else facing this?
The text was updated successfully, but these errors were encountered: