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。

Metadata

Release files for iflow-mcp_biliroast 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_biliroast 0.1.0
File Size Uploaded
iflow_mcp_biliroast-0.1.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_biliroast 0.1.0
File Interpreter ABI Platform
iflow_mcp_biliroast-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.0 kB

Release files / iflow_mcp_biliroast-0.1.0.tar.gz

Download URL iflow_mcp_biliroast-0.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
886a258893b18ad0744a91c5c7500ad6fde70bd958b8e1a58ecbee420d608847
BLAKE2b-256 checksum
How to use checksums
ba3e8f264adc647fa35b8d753a264829749def6decdd61845183ceb768e50941
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release files / iflow_mcp_biliroast-0.1.0-py3-none-any.whl

Download URL iflow_mcp_biliroast-0.1.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6407143c181a54893ff1a658f684879037abbb7a347dffecf86540259bad9350
BLAKE2b-256 checksum
How to use checksums
046724c02e6c0ce97b0eb2f8bfc4b579d0c5d8d5585774ff9172f96ee5adfcc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page