arry-lee / wereader

一个功能全面的微信读书笔记助手 wereader
GNU General Public License v3.0
876 stars 115 forks source link

修改获取USERVID的方式 #17

Closed uxlsl closed 4 years ago

uxlsl commented 4 years ago

cookies 出现这种形式 pgv_info=ssid=s8692364004; 所以会报错,但看代码是用来获到USERVID,所以修改下

Traceback (most recent call last):
  File "wereader.py", line 7, in <module>
    from settings import COOKIE,USERVID
  File "/Users/xxx/work/wereader/settings.py", line 8, in <module>
    k,v = c.strip().split('=')
ValueError: too many values to unpack (expected 2)