不知道为啥不能用
Opened this issue · 0 comments
yankengwudi commented
web.py 文件初始运行时 app.listen(8016) 报错确实参数
升级了tornado依赖后web.py文件能运行了,但是检测不出来
{'_xsrf': '2|7f878fd1|80b288b2e37652325a85efba61f06b3f|1602251074', 'cookie_text': 'https://www.baidu.com', 'button': 'chrome_cookie'}
调用内部方法时
from handle.Interface import get_cookie
url = "http://www.taobao.com"
返回所有cookie
cookies = get_cookie(url)
Traceback (most recent call last):
File "C:\pcode\code\cookie1\lib\site-packages\redis\connection.py", line 484, in connect
sock = self._connect()
File "C:\pcode\code\cookie1\lib\site-packages\redis\connection.py", line 541, in _connect
raise err
File "C:\pcode\code\cookie1\lib\site-packages\redis\connection.py", line 529, in _connect
sock.connect(socket_address)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
求助大佬佬