F33RNI / GPT-Telegramus

💜 The best free Telegram bot for ChatGPT, Microsoft Copilot (aka Bing AI / Sidney / EdgeGPT), Microsoft Copilot Designer (aka BingImageCreator), Gemini and Groq with stream writing, requests with images, multiple languages, admin control, data logging and more!
GNU Affero General Public License v3.0
319 stars 100 forks source link

Auto cookie google bard #80

Closed kaifsarkar123 closed 8 months ago

kaifsarkar123 commented 8 months ago

Is there a way to add auto cookie in google bard as after some time the Bard cookie changed and again we have to add is there is any way to fix that

F33RNI commented 8 months ago

Use another account and do not log into it through a normal browser. GPT-Telegramus automatically updates bard cookies after every request (updates existing file)

F33RNI commented 8 months ago

For me Bard has been working without problems all this time after the last release 24/7 with US proxy

kaifsarkar123 commented 8 months ago

I think microsoft is against the unofficial usage that's why it has multiple issues 😄

Ron-yos58 commented 8 months ago

i followed your instructions but have the same error in module bard: this is a reply comment

❌ Error: HTTPSConnectionPool(host='bard.google.com', port=443): Max retries exceeded with url: / (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 502 Bad Gateway')))

For me Bard has been working without problems all this time after the last release 24/7 with US proxy

F33RNI commented 8 months ago

i followed your instructions but have the same error in module bard: this is a reply comment

❌ Error: HTTPSConnectionPool(host='bard.google.com', port=443): Max retries exceeded with url: / (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 502 Bad Gateway')))

For me Bard has been working without problems all this time after the last release 24/7 with US proxy

Most likely this is a proxy error. It looks like that Bard only accepts USA IPs. If you do not live in the USA or another country where it works, you will need to either make your own proxy or buy it and specify in format http://user:password@proxyip:port.

p.s. GPT-Telegramus auto-proxy feature not tested for a very long time and most likely will not work for Bard

F33RNI commented 8 months ago

I have a fairly cheap US proxy that I bought. Through a Chrome extension, I access Bard using this proxy, make some requests, and download cookies. After that, I use my proxy's IP in GPT-Telegramus and never log into this Google account through a browser again.