Skip to main content

nonebot2 plugin for hotsearch

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-hotsearch

✨ 热搜获取插件 for nonebot2 ✨

license python

📖 介绍

基于Nonebot 2.0, onebot v11的热搜获取插件~

可以获取微博、百度、知乎、贴吧、b站五个平台的最新热搜,并以合并转发的形式发送出来~

💿 安装

  • 使用 nb-cli 安装
nb plugin install nonebot-plugin-hotsearch
  • 使用 pip 安装
pip install nonebot-plugin-hotsearch
  • 随后,在项目的pyproject.tomlbot.py中加上如下代码,加载插件(根据版本而定)

pyproject.toml中添加

plugins = ["nonebot_plugin_quote"]

bot.py中添加

nonebot.load_plugin("nonebot_plugin_quote")

🎉 使用

指令表

指令 权限 需要@ 范围
/微博热搜 群员 群聊
/百度热搜 群员 群聊
/贴吧热搜 群员 群聊
/知乎热搜 群员 群聊
/B站热搜 群员 群聊

⭐ Special thanks to

本插件在编写过程中,参考了不少以下项目,对各位大佬表示由衷的感谢,若有相关侵权问题请联系作者删除

Bot框架: NoneBot

README模板参考: A-kirami|nonebot-plugin-template

插件灵感及参考来源: BeiYazi0|HoshinoBot的热搜插件

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_hotsearch-0.1.1.tar.gz (4.4 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_hotsearch-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_hotsearch-0.1.1.tar.gz.

File metadata

  • Download URL: nonebot_plugin_hotsearch-0.1.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.9.2 Windows/10

File hashes

Hashes for nonebot_plugin_hotsearch-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3c89e953e38aaa89bc31011b0abbddeda823b2fed3b6109a0daf57e759d185d2
MD5 22af37e49df352fd345dc08dbb66ba44
BLAKE2b-256 209cae4b24a5ade9f148fc5640c4d1e99381a1d4c80ab424c9d210f80150e27f

See more details on using hashes here.

File details

Details for the file nonebot_plugin_hotsearch-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_hotsearch-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 acf1fce5b0c5af07555a319028ad490c69590dd17eab1162686969e1d5f8b0b3
MD5 b11f9b1d6dabf323bcf97b3c3c1d937e
BLAKE2b-256 6537da65feb0bea8a18d6d47dd8f4fa1899ffd3d996d63c4991333ea0e43c96a

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