Skip to main content

BiliRoast

锐评哔哩哔哩up主。

使用方法

  1. clone 项目代码。
git clone https://github.com/xuanli199/BiliRoast

或者到 https://github.com/xuanli199/BiliRoast 下载代码。

  1. 使用 uv 安装项目依赖。
uv sync
  1. 在 mcp client 中配置 Server。
{
  "mcpServers": {
    "bilibili": {
      "name": "bilibili",
      "type": "stdio",
      "isActive": true,
      "registryUrl": "",
      "tags": [],
      "command": "uv",
      "args": [
        "--directory",
        "/项目本地位置/BiliRoast",
        "run",
        "bilibili.py"
      ],
      "env": {
        "user_cookie": "获取cookie:buvid3=xxx; b_nut=xxx; _uuid=xxx;",
        "api_key": "魔搭社区key",
        "page": "1"
      }
    }
  }
}

获取参数

1.获取cookie

访问哔哩哔哩网页版,按f12打开控制台,选择网络(network),查看控制台中的请求。在标头中查看是否包含cookie,如果不包含就换一个请求。如果包含,就复制前三部分内容buvid3=xxx; b_nut=xxx; _uuid=xxx;

image

2.获取key

打开魔搭社区,获取keyhttps://www.modelscope.cn/my/myaccesstoken

3.page

page参数为爬取动态内容页面,默认为1。

Download files

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

Source Distribution

iflow_mcp_biliroast-0.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

iflow_mcp_biliroast-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iflow_mcp_biliroast-0.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.9

File hashes

Hashes for iflow_mcp_biliroast-0.1.0.tar.gz
Algorithm Hash digest
SHA256 886a258893b18ad0744a91c5c7500ad6fde70bd958b8e1a58ecbee420d608847
MD5 d4d97ac239069f9ffaf3af83bd47ed79
BLAKE2b-256 ba3e8f264adc647fa35b8d753a264829749def6decdd61845183ceb768e50941

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for iflow_mcp_biliroast-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6407143c181a54893ff1a658f684879037abbb7a347dffecf86540259bad9350
MD5 7522d6a66ac99499defcc00257631025
BLAKE2b-256 046724c02e6c0ce97b0eb2f8bfc4b579d0c5d8d5585774ff9172f96ee5adfcc9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

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