PeterDing / BaiduPCS-Py

BaiduPCS API & App 百度网盘客户端 和 API
MIT License
690 stars 113 forks source link

交互运行后出现cookies的字典格式不正确 #126

Closed lin-qian123 closed 6 months ago

lin-qian123 commented 6 months ago

Describe the bug / 描述 bug 交互运行后出现cookies的字典格式不正确: (v0.7.6) System ERROR: dictionary update sequence element #0 has length 1; 2 is required

Screenshots / 问题截图 屏幕截图 2024-04-09 165539

Envrionment / 运行环境

Runing log / 运行日志 Please follow steps to paste the content of file ~/.baidupcs-py/running.log.

  1. Remove the file ~/.baidupcs-py/running.log if it exists.
  2. Run the command where the bug occurs with envrionment variable LOG_LEVEL=DEBUG. e.g. LOG_LEVEL=DEBUG BaiduPCS-Py upload /abc /
  3. Paste the content of file ~/.baidupcs-py/running.log after the bug occurs.

Don't show BDUSS and cookies.

请按照下面的步骤贴出运行日志 ~/.baidupcs-py/running.log 中的内容。 BaiduPCS-Py useradd Account Name []: xxx BDUSS []: Cookies []: (v0.7.6) System ERROR: dictionary update sequence element #0 has length 1; 2 is required

lin-qian123 commented 6 months ago

把双引号改成单引号就行了