Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

发现插件有报错 可以留个联系方式帮忙看看吗 #1

Closed
LSGLSH opened this issue Nov 7, 2022 · 2 comments
Closed

发现插件有报错 可以留个联系方式帮忙看看吗 #1

LSGLSH opened this issue Nov 7, 2022 · 2 comments

Comments

@LSGLSH
Copy link

LSGLSH commented Nov 7, 2022

No description provided.

@MelodyKnit
Copy link
Owner

您可以加我的QQ2711402357

@MelodyKnit
Copy link
Owner

遭遇错误

  File "/home/bot/zhenxun_bot/my_plugins/nonebot_plugin_animeres/__init__.py", line 26, in _
    if res := await GetCartoons(param):
  File "/home/bot/zhenxun_bot/my_plugins/nonebot_plugin_animeres/cartoon.py", line 30, in GetCartoons
    async with ClientSession(base_url=method.base_url, connector=TCPConnector(ssl=False), trust_env=True) as session:
TypeError: __init__() got an unexpected keyword argument 'base_url'

解决方案

pip install --upgrade aiohttp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants