cm-edelweiss / littlepaimon-plugin-abyss Goto Github PK
View Code? Open in Web Editor NEWLittlePaimon插件提供实时便签和签到接入接码平台
License: GNU Affero General Public License v3.0
LittlePaimon插件提供实时便签和签到接入接码平台
License: GNU Affero General Public License v3.0
12-14 15:52:24 [SUCCESS] nonebot | OneBot V11 2296287260 | [message.private.friend]: Message 1347515470 from 2157847035 '米游社过码'
12-14 15:52:24 [INFO] nonebot | Event will be handled by Matcher(type='message', module=LittlePaimon.plugins.LittlePaimon-plugin-Abyss-main.LittlePaimon_plugin_Abyss.main)
12-14 15:52:25 [INFO] nonebot | Matcher(type='message', module=LittlePaimon.plugins.LittlePaimon-plugin-Abyss-main.LittlePaimon_plugin_Abyss.main) running complete
12-14 15:52:25 [ERROR] nonebot | Running Matcher(type='message', module=LittlePaimon.plugins.LittlePaimon-plugin-Abyss-main.LittlePaimon_plugin_Abyss.main) failed.
Traceback (most recent call last):
File "bot.py", line 37, in
nonebot.run(app="mp_main:app", access_log=False)
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/init.py", line 333, in run
get_driver().run(*args, **kwargs)
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/drivers/fastapi.py", line 199, in run
uvicorn.run(
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/uvicorn/main.py", line 587, in run
server.run()
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/uvicorn/server.py", line 61, in run
return asyncio.run(self.serve(sockets=sockets))
File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/message.py", line 467, in check_and_run_matcher
await _run_matcher(
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/message.py", line 419, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/internal/matcher/matcher.py", line 759, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/internal/matcher/matcher.py", line 734, in simple_run
await handler(
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/dependencies/init.py", line 108, in call
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "/root/Bot/LittlePaimon/LittlePaimon/plugins/LittlePaimon-plugin-Abyss-main/LittlePaimon_plugin_Abyss/main.py", line 168, in _
data = await get_pass_challenge(str(event.user_id), uid)
File "/root/Bot/LittlePaimon/LittlePaimon/plugins/LittlePaimon-plugin-Abyss-main/LittlePaimon_plugin_Abyss/static.py", line 50, in get_pass_challenge
validate, ch = await get_validate(gt, ch, bbs_get_captcha, uid, False)
File "/root/Bot/LittlePaimon/LittlePaimon/plugins/LittlePaimon-plugin-Abyss-main/LittlePaimon_plugin_Abyss/api.py", line 183, in get_validate
validate, challenge = await rrocr(gt, challenge, referer)
File "/root/Bot/LittlePaimon/LittlePaimon/plugins/LittlePaimon-plugin-Abyss-main/LittlePaimon_plugin_Abyss/api.py", line 84, in rrocr
jifen, _ = await query_score()
File "/root/Bot/LittlePaimon/LittlePaimon/plugins/LittlePaimon-plugin-Abyss-main/LittlePaimon_plugin_Abyss/api.py", line 56, in query_score
logger.info("人人积分", "➤", "", integral, True)
File "/root/Bot/LittlePaimon/LittlePaimon/utils/logger.py", line 15, in info
result_str = f'{escape_tag(result)}' if result_type else f'{escape_tag(result)}' if result else ''
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/utils.py", line 52, in escape_tag
return re.sub(r"</?((?:[fb]g\s)?[^<>\s]*)>", r"\\g<0>", s)
File "/usr/lib/python3.8/re.py", line 210, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object
报错如下”
httpx.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol.
算是第一次玩了,我应该在哪里填appkey?api.py里66行么
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.