{
  "schemaVersion": "1.0",
  "item": {
    "slug": "bilibili-player",
    "name": "Bilibili Player",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/e421083458/bilibili-player",
    "canonicalUrl": "https://clawhub.ai/e421083458/bilibili-player",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/bilibili-player",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=bilibili-player",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/bilibili-player.py",
      "scripts/bilibili-player.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/bilibili-player"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/bilibili-player",
    "agentPageUrl": "https://openagent3.xyz/skills/bilibili-player/agent",
    "manifestUrl": "https://openagent3.xyz/skills/bilibili-player/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/bilibili-player/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "功能",
        "body": "用 Playwright 无头浏览器搜索 B 站视频，获取准确链接后用系统 open 命令在用户当前浏览器打开播放。"
      },
      {
        "title": "使用场景",
        "body": "播放电影/电视剧（如：三国演义、电影名称）\n播放音乐/MV（如：伍佰 突然的自我）\n播放纪录片/教程\n任何需要在 B 站搜索并播放视频的场景"
      },
      {
        "title": "优势",
        "body": "✅ 准确 - Playwright 直接解析页面获取视频链接\n✅ 快速 - 无头模式搜索，不阻塞用户界面\n✅ 稳定 - 用用户浏览器播放，有音频、有登录状态、有 Cookie\n✅ 简单 - 一个命令完成搜索 + 打开"
      },
      {
        "title": "基本用法",
        "body": "bilibili-player.sh \"搜索关键词\""
      },
      {
        "title": "示例",
        "body": "# 播放电视剧\nbilibili-player.sh \"三国演义 1994 火烧赤壁\"\nbilibili-player.sh \"西游记 央视版\"\n\n# 播放音乐\nbilibili-player.sh \"伍佰 突然的自我\"\nbilibili-player.sh \"李宇春 蜀绣\"\n\n# 播放电影\nbilibili-player.sh \"流浪地球\""
      },
      {
        "title": "工作流程",
        "body": "用户请求 → Playwright 搜索 → 提取视频链接 → open 命令打开 → 浏览器播放"
      },
      {
        "title": "详细步骤",
        "body": "Playwright 搜索 - 无头 Chromium 访问 B 站搜索页面\n解析页面 - 提取第一个视频卡片的链接\nopen 打开 - 用 macOS open 命令在默认浏览器打开\n播放 - 用户在浏览器中观看（有声音、有登录状态）"
      },
      {
        "title": "bilibili-player.py",
        "body": "Python 脚本，执行搜索和打开操作。\n\n依赖：\n\nPython 3\nPlaywright (pip3 install playwright)\n\n用法：\n\npython3 bilibili-player.py \"搜索关键词\""
      },
      {
        "title": "bilibili-player.sh",
        "body": "Shell 封装脚本，方便直接调用。\n\n用法：\n\n./bilibili-player.sh \"搜索关键词\""
      },
      {
        "title": "Playwright 选择器",
        "body": "脚本使用以下选择器查找视频链接（按优先级）：\n\nselectors = [\n    \"a[href*='/video/']\",      # 最准确：包含/video/的链接\n    \".bili-video-card a\",      # 备选：视频卡片的链接\n]"
      },
      {
        "title": "链接处理",
        "body": "相对链接自动补全为完整 URL\n支持 // 开头的协议相对链接"
      },
      {
        "title": "错误处理",
        "body": "如果找不到视频，打开搜索页面\n超时时间：60 秒\n等待页面加载：3 秒"
      },
      {
        "title": "限制",
        "body": "仅支持 macOS（依赖 open 命令）\n需要安装 Playwright\n需要网络连接"
      },
      {
        "title": "扩展建议",
        "body": "如需支持其他平台：\n\nLinux: 用 xdg-open 替代 open\nWindows: 用 start 替代 open"
      },
      {
        "title": "相关文件",
        "body": "scripts/bilibili-player.py - 主脚本\nscripts/bilibili-player.sh - Shell 封装"
      }
    ],
    "body": "B 站视频播放器\n功能\n\n用 Playwright 无头浏览器搜索 B 站视频，获取准确链接后用系统 open 命令在用户当前浏览器打开播放。\n\n使用场景\n播放电影/电视剧（如：三国演义、电影名称）\n播放音乐/MV（如：伍佰 突然的自我）\n播放纪录片/教程\n任何需要在 B 站搜索并播放视频的场景\n优势\n✅ 准确 - Playwright 直接解析页面获取视频链接\n✅ 快速 - 无头模式搜索，不阻塞用户界面\n✅ 稳定 - 用用户浏览器播放，有音频、有登录状态、有 Cookie\n✅ 简单 - 一个命令完成搜索 + 打开\n使用方法\n基本用法\nbilibili-player.sh \"搜索关键词\"\n\n示例\n# 播放电视剧\nbilibili-player.sh \"三国演义 1994 火烧赤壁\"\nbilibili-player.sh \"西游记 央视版\"\n\n# 播放音乐\nbilibili-player.sh \"伍佰 突然的自我\"\nbilibili-player.sh \"李宇春 蜀绣\"\n\n# 播放电影\nbilibili-player.sh \"流浪地球\"\n\n工作流程\n用户请求 → Playwright 搜索 → 提取视频链接 → open 命令打开 → 浏览器播放\n\n详细步骤\nPlaywright 搜索 - 无头 Chromium 访问 B 站搜索页面\n解析页面 - 提取第一个视频卡片的链接\nopen 打开 - 用 macOS open 命令在默认浏览器打开\n播放 - 用户在浏览器中观看（有声音、有登录状态）\n脚本说明\nbilibili-player.py\n\nPython 脚本，执行搜索和打开操作。\n\n依赖：\n\nPython 3\nPlaywright (pip3 install playwright)\n\n用法：\n\npython3 bilibili-player.py \"搜索关键词\"\n\nbilibili-player.sh\n\nShell 封装脚本，方便直接调用。\n\n用法：\n\n./bilibili-player.sh \"搜索关键词\"\n\n技术细节\nPlaywright 选择器\n\n脚本使用以下选择器查找视频链接（按优先级）：\n\nselectors = [\n    \"a[href*='/video/']\",      # 最准确：包含/video/的链接\n    \".bili-video-card a\",      # 备选：视频卡片的链接\n]\n\n链接处理\n相对链接自动补全为完整 URL\n支持 // 开头的协议相对链接\n错误处理\n如果找不到视频，打开搜索页面\n超时时间：60 秒\n等待页面加载：3 秒\n限制\n仅支持 macOS（依赖 open 命令）\n需要安装 Playwright\n需要网络连接\n扩展建议\n\n如需支持其他平台：\n\nLinux: 用 xdg-open 替代 open\nWindows: 用 start 替代 open\n相关文件\nscripts/bilibili-player.py - 主脚本\nscripts/bilibili-player.sh - Shell 封装"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/e421083458/bilibili-player",
    "publisherUrl": "https://clawhub.ai/e421083458/bilibili-player",
    "owner": "e421083458",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/bilibili-player",
    "downloadUrl": "https://openagent3.xyz/downloads/bilibili-player",
    "agentUrl": "https://openagent3.xyz/skills/bilibili-player/agent",
    "manifestUrl": "https://openagent3.xyz/skills/bilibili-player/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/bilibili-player/agent.md"
  }
}