HeiDaotu / WFRobertQL

这是WF·Robert的青龙脚本库,里面包含各种脚本
https://heidaotu.github.io/ScriptDocument
Apache License 2.0
251 stars 18 forks source link

52破解签到脚本报错 #15

Open ChaXxl opened 3 months ago

ChaXxl commented 3 months ago
## 开始执行... 2024-07-17 06:25:00

2024-07-17 06:25:00,345 - initialize.py:80 - INFO: 开启10秒到5分钟之间的随机延迟时间,如果不需要延迟  请将initialize.py代码中的最后一行代码注释掉
2024-07-17 06:25:00,346 - initialize.py:82 - INFO: 开启延迟,94秒后执行代码
2024-07-17 06:26:34,346 - 52pojie.py:24 - INFO: 开始签到
Traceback (most recent call last):
  File "/ql/data/scripts/HeiDaotu_WFRobertQL_main/52pojie.py", line 61, in <module>
    s_cookie = r.headers['Set-Cookie']
               ~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/requests/structures.py", line 52, in __getitem__
    return self._store[key.lower()][1]
           ~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'set-cookie'

## 执行结束... 2024-07-17 06:26:34  耗时 94 秒