acheong08 / Bard

Python SDK/API for reverse engineered Google Bard
MIT License
1.42k stars 178 forks source link

Stopped working #76

Open Swiftgti opened 1 year ago

Swiftgti commented 1 year ago

Any response from bard, now crashes:

site-packages\Bard.py", line 275, in ask chat_data = json.loads(resp.content.splitlines()[3])[0][2]


IndexError: list index out of range
Swiftgti commented 1 year ago

The issue was because changed my __Secure-1PSID, and the script dont report the Authentication error.

BUT now, apparently the Secure-1PSID are changing very fast, from one day to another... how to prevent it? any way to automatically retrieve Secure-1PSID ?

raymerjacque commented 1 year ago

nope, its a secure cookie... you have to use the cookie extension and manually copy it every time it changes.

acheong08 commented 1 year ago

Strange. Mine hasn't changed at all over the past week.

hung-scopely commented 1 year ago

@acheong08 maybe you are using a separated account just for Bard and that account isn't used frequently.