justundertaker / mini_jx3_bot Goto Github PK
View Code? Open in Web Editor NEW女生自用剑网三机器人
Home Page: https://justundertaker.github.io/mini_jx3_bot/
License: MIT License
女生自用剑网三机器人
Home Page: https://justundertaker.github.io/mini_jx3_bot/
License: MIT License
今天发现日常模块返回数据结构更新了:
{
"code": 200,
"msg": "success",
"data": {
"date": "2022-03-01",
"week": "二",
"war": "英雄武氏别院",
"battle": "三国古战场",
"public": "藏剑·乱世",
"camp": "藏剑·乱世",
"team": [
"洛阳城·攻打应天门;洛阳·神兵迷踪",
"英雄空雾峰;英雄寂灭厅;英雄一线天",
"雷域大泽;范阳夜变;战宝迦兰"
]
},
"time": 1646122697
}
例如 物价 狐金
报错:
查询失败,6 validation errors for Response
data
value is not a valid dict (type=type_error.dict)
data -> 0
value is not a valid dict (type=type_error.dict)
data -> 1
value is not a valid dict (type=type_error.dict)
data -> 2
value is not a valid dict (type=type_error.dict)
data -> 3
value is not a valid dict (type=type_error.dict)
data -> 4
value is not a valid dict (type=type_error.dict)
ERROR: Exception:
Traceback (most recent call last):
File "/usr/share/python-wheels/urllib3-1.25.8-py2.py3-none-any.whl/urllib3/response.py", line 425, in _error_catcher
yield
File "/usr/share/python-wheels/urllib3-1.25.8-py2.py3-none-any.whl/urllib3/response.py", line 507, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/usr/share/python-wheels/CacheControl-0.12.6-py2.py3-none-any.whl/cachecontrol/filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "/usr/lib/python3.8/http/client.py", line 459, in read
n = self.readinto(b)
File "/usr/lib/python3.8/http/client.py", line 503, in readinto
n = self.fp.readinto(b)
File "/usr/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "/usr/lib/python3.8/ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "/usr/lib/python3.8/ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 186, in _main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 357, in run
resolver.resolve(requirement_set)
File "/usr/lib/python3/dist-packages/pip/_internal/legacy_resolve.py", line 177, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File "/usr/lib/python3/dist-packages/pip/_internal/legacy_resolve.py", line 333, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/usr/lib/python3/dist-packages/pip/_internal/legacy_resolve.py", line 282, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(req)
File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 480, in prepare_linked_requirement
local_path = unpack_url(
File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 282, in unpack_url
return unpack_http_url(
File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 158, in unpack_http_url
from_path, content_type = _download_http_url(
File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 303, in _download_http_url
for chunk in download.chunks:
File "/usr/lib/python3/dist-packages/pip/_internal/utils/ui.py", line 160, in iter
for x in it:
File "/usr/lib/python3/dist-packages/pip/_internal/network/utils.py", line 15, in response_chunks
for chunk in response.raw.stream(
File "/usr/share/python-wheels/urllib3-1.25.8-py2.py3-none-any.whl/urllib3/response.py", line 564, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/share/python-wheels/urllib3-1.25.8-py2.py3-none-any.whl/urllib3/response.py", line 529, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/lib/python3.8/contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "/usr/share/python-wheels/urllib3-1.25.8-py2.py3-none-any.whl/urllib3/response.py", line 430, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out
请问推栏的token怎么抓
Task exception was never retrieved
future: <Task finished name='Task-358439' coro=<Jx3WebSocket._handle_msg() done, defined at C:\QQRobot\mini_jx3_bot-0.0.5.\src\managers\server_manager_websocket.py:67> exception=AttributeError("'NoneType' object has no attribute 'log'")>
Traceback (most recent call last):
File "C:\QQRobot\mini_jx3_bot-0.0.5.\src\managers\server_manager_websocket.py", line 78, in _handle_msg
logger.debug(event.log)
AttributeError: 'NoneType' object has no attribute 'log'
你好大佬,我在运行了以后的第三天出现这个问题,在网上没找到相关解决办法,因为是刚学python,很多东西都还不懂,只好来请教你,想请问一下,出现这个问题怎么解决呢
希望docker支持arm架构服务器
请问一下签到功能的总金币数额是否能读取,我想在使用其他插件时用这个金币来实现功能,但是我找了半天也没看到这个签到功能的记录存放在那个文件下,请大佬执教一下
显示查询失败,Bad Request: no such service as /app/daily 怎么解决?
self._tencent_url = base_url+"/transmit/chat"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.