MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    微博热搜插件

    插件发布
    graia-saya http python sagiri 微博weibo
    2
    2
    1702
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SAGIRI
      SAGIRI 摸鱼 last edited by StageGuard

      这是一个基于 Graia-Saya 的插件,可以获取实时微博热搜前50

      部署方法:将 WeiboHotSearch.py 放入运行saya的modules文件夹即可,也可以下载仓库中自带的加载程序,详情请看仓库 README

      使用方法:在群内发送 微博 即可

      仓库地址:https://github.com/SAGIRI-kawaii/saya_plugins_collection/blob/master/modules/WeiboHotSearch.py

      插件示例:
      dda3b706-bef5-4736-87e8-f255a4e37881-image.png
      c65da2b4-7f4c-4bad-84d9-f7156540f95b-image.png

      使用注意:

      • 若您没有使用插件仓库下自带的加载程序,而是独立使用,请将 utils.py 中的 messagechain_to_img 函数复制出来并加入插件中(我只是懒)
      • 此插件也支持文字发送形式,将 get_weibo_hot 的 display 参数的默认值改为 text 即可
      1 Reply Last reply Reply Quote 0
      • L
        loolksama last edited by

        怎么用;w;?

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact