ZHE
  • 工具
  • AI命令
  • 导航
  • 博客
  • |
  • 登录
  • 注册
  • AI画图提示词
  • ubuntu
  • linux
  • web3
  • seo
  • laravel
  • wordpress
  • PHP
  • Stable Diffusion实战
  • Go语言教程之边写边学
Copyright zhe.ink ©2023-2025
Email: service@zhe.ink
吉ICP备2024017385号-3
gongan苏公网安备 32050902101537号

Exception: SNlM0e value not found. Double-check __Secure-1PSID value or pass it as token='xxxxx'.****

2023-11-23 22:04:14
267
google bardapi

用BardCookies可以解决问题

from bardapi import BardCookies

cookie_dict = {
    "__Secure-1PSID": "xxxxxxxxx",
    "__Secure-1PSIDTS": "xxxxxxxxx",
    "__Secure-1PSIDCC", "xxxxxxx")
}

bard = BardCookies(cookie_dict=cookie_dict)

print(bard.get_answer("hello"))
相关文章
nginx:no resolver defined to resolve xxx.xxx”
Ubuntu 18.04/20.04/22.04: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
微信小程序checkSessionKey签名方法
git:fatal: Not possible to fast-forward, aborting.
Stable Diffusion:什么是检查点模型?checkpoint
让notepad根据编辑器窗口大小自动换行的方法
php imagck读取pdf错误:attempt to perform an operation not allowed by the security policy PDF
Go语言教程之边写边学:Golang中的反射:Reflect包的ValueOf函数
用wordpress建站的6个主要优势
CORS是如何实现的