bili-grabber

Fetch Bilibili search results and video metadata via Python script.

3|1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/sunchendd/good_skills --skill bili-grabber
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bili-grabber
Source: https://github.com/sunchendd/good_skills/tree/main/bili-grabber
Command: npx skills add https://github.com/sunchendd/good_skills --skill bili-grabber

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Fetch Bilibili search results and video metadata for quick chat delivery and content curation.

Core Features & Use Cases

  • Fetch BV video IDs from Bilibili search for a given keyword.
  • Download video covers to result/bili_covers/ for offline reference.
  • Print concise summaries to stdout for easy chat delivery without exporting JSON/CSV.
  • Example use: a user asks to list top 5 videos for a keyword and share covers in the chat.

Quick Start

Run the script from the workspace root to fetch results for a keyword, e.g., python3 skills/bili-grabber/scripts/grab_bili_search.py --keyword "跳舞" --count 10.

Frequently Asked Questions about bili-grabber

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch Bilibili search results and video covers using a script?

You can fetch Bilibili search results by running a Python script that queries the Bilibili API with a specific keyword, downloads video covers to a local directory, and prints concise video metadata summaries to stdout.

Can I limit the number of Bilibili video metadata entries returned by a keyword search?

Yes, you can limit Bilibili video metadata entries by passing a count parameter to the search script, restricting the fetched video list and downloaded covers to your desired number.

Does the Bilibili search script export video metadata to JSON or CSV files?

No, the Bilibili search script does not export video metadata to JSON or CSV. It prints concise summaries directly to stdout for quick chat delivery and downloads cover assets locally.

Where are the downloaded Bilibili video covers saved after a keyword search?

Downloaded Bilibili video covers are saved locally in the result/bili_covers directory, providing offline reference for the video metadata retrieved from your keyword search.

What is the best way to quickly retrieve Bilibili video BV IDs for chat delivery?

The best way to retrieve Bilibili video BV IDs for chat delivery is running a Python script that queries the Bilibili API, fetching top video results and printing concise summaries to stdout.

Do I need any external dependencies to run the Bilibili search and metadata grabbing script?

No external dependencies are required to run the Bilibili search script. It operates as a standalone Python script to query the API, grab metadata, and download covers.