Skip to main content

Fix QQ image hosting SSL issue

Project description

NoneBotPluginLogo

NoneBotPluginText

NoneBot-Plugin-Fix-QQ-Img-SSL

✨ 修复访问 QQ 图床的 SSL 错误 ✨

python pdm-managed wakatime
Pydantic Version 1 Or 2 license pypi pypi download
NoneBot Registry Supported Adapters

📖 介绍

Monkey Patch 了 httpx.AsyncClient__init__ 方法,使其始终携带一个自定义的 SSLContext

💿 安装

以下提到的方法 任选其一 即可

[推荐] 使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-fix-qq-img-ssl
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-fix-qq-img-ssl
pdm
pdm add nonebot-plugin-fix-qq-img-ssl
poetry
poetry add nonebot-plugin-fix-qq-img-ssl
conda
conda install nonebot-plugin-fix-qq-img-ssl

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分的 plugins 项里追加写入

[tool.nonebot]
plugins = [
    # ...
    "nonebot_plugin_fix_qq_img_ssl"
]

⚙️ 配置

没有

🎉 使用

加载即有效,快来试试吧

📞 联系

QQ:3076823485
Telegram:@lgc2333
吹水群:1105946125
邮箱:lgc2333@126.com

💡 鸣谢

LagrangeDev/Lagrange.Core/issues/315

💰 赞助

赞助我

感谢大家的赞助!你们的赞助将是我继续创作的动力!

📝 更新日志

芝士刚刚发布的插件,还没有更新日志的说 qwq~

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_fix_qq_img_ssl-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_fix_qq_img_ssl-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_fix_qq_img_ssl-0.1.0.tar.gz.

File metadata

  • Download URL: nonebot_plugin_fix_qq_img_ssl-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.24.1 CPython/3.12.3 Linux/6.11.0-1014-azure

File hashes

Hashes for nonebot_plugin_fix_qq_img_ssl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cb3c0c1b03de70a1bc749ece270cb6d077d1981c950aae0442186c2824201c06
MD5 8b13f49f6153fa2f2eeee9f6dbdfc789
BLAKE2b-256 1a5d821cc51b0e786932b8f365c6e95f94c070c1351aa19ecfa75047541b18f7

See more details on using hashes here.

File details

Details for the file nonebot_plugin_fix_qq_img_ssl-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_fix_qq_img_ssl-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af340952d10b3430e6d142c68f1e2935b24ef33d13a193871bacacdedfca3d58
MD5 f5efcdd45ee8d0ea6889aa05799bea77
BLAKE2b-256 1d303b27a8dc25d25318121e093bb5caf77dcc02ccae686e04b8cf5a73ef19ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page