VOOZH about

URL: https://apify.com/ethereal_wool/bilibili-scraper

โ‡ฑ Bilibili Scraper & API ยท Apify


Pricing

$3.00 / 1,000 results

Go to Apify Store

๐Ÿ“บ Bilibili Scraper

Extract Bilibili data โ€” plays, danmaku, title, and more. Scrape by keyword, URL or ID. Export to JSON, CSV & Excel, use the API, schedule runs and integrate. No code required.

Pricing

$3.00 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Jackie Chen

Jackie Chen

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

1

Monthly active users

31 minutes ago

Last modified

Share

Bilibili Scraper

๐Ÿ‘ bilibili-scraper

Scrape Bilibili (ๅ“”ๅ“ฉๅ“”ๅ“ฉ / B็ซ™) by keyword search, creator uploads, video comments, and danmaku (bullet chat). Returns clean, structured data for each record: titles, play / like / danmaku / favorite / comment counts, author info, cover image, video URL, comment text, and danmaku content with timing.

Unofficial. This Actor is not affiliated with, authorized, or endorsed by Bilibili (Shanghai Kuanyu / ไธŠๆตทๅฎฝๅจฑๆ•ฐ็ ็ง‘ๆŠ€). It is an independent tool that retrieves publicly available data via a third-party API. Use it in compliance with Bilibili's terms and all applicable laws; you are responsible for how you use the retrieved data.

What it does

Four modes run in order, all sharing one maxItems budget:

  • Keyword search โ€” give one or more keywords; the Actor paginates Bilibili comprehensive search results for each. Sort by comprehensive / latest / most played / most danmaku / most favorited.
  • Creator uploads โ€” give one or more creator UIDs (the numeric mid) to scrape the videos they have uploaded.
  • Video comments โ€” give one or more video BV IDs to scrape their top-level comments.
  • Danmaku โ€” give one or more video cids to scrape the bullet-chat overlay messages.

Input

FieldTypeDefaultDescription
searchKeywordsstring[]["็ผ–็จ‹"]Keywords to search. Each is paginated independently. Chinese keywords return the most results.
searchOrderenumcomprehensivecomprehensive / pubdate (latest) / click (most played) / dm (most danmaku) / stow (most favorited).
userIdsstring[][]Creator UIDs (numeric mid) whose uploaded videos to scrape.
bvIdsstring[][]Video BV IDs whose top-level comments to scrape (e.g. BV1rpWjevEip).
cidsstring[][]Video segment cids whose danmaku to scrape.
maxItemsinteger50Max total items across all targets.

Example input

{
"searchKeywords":["็ผ–็จ‹","python"],
"searchOrder":"click",
"userIds":["3546597933714079"],
"bvIds":["BV1rpWjevEip"],
"maxItems":200
}

Output

One dataset item per record. Videos:

{
"id":"BV1rpWjevEip",
"bvid":"BV1rpWjevEip",
"aid":113006243481679,
"type":"video",
"title":"็›ฎๅ‰B็ซ™ๆœ€ๅ…จๆœ€็ป†็š„Python้›ถๅŸบ็ก€ๅ…จๅฅ—ๆ•™็จ‹",
"url":"https://www.bilibili.com/video/BV1rpWjevEip",
"coverUrl":"https://i2.hdslb.com/bfs/archive/...jpg",
"duration":"2398:14",
"playCount":16634964,
"danmakuCount":111398,
"likeCount":410099,
"favoriteCount":653700,
"author":{"uid":3546597933714079,"name":"Pythonๅฎ˜ๆ–น่ฏพ็จ‹"},
"categoryName":"่ฎก็ฎ—ๆœบๆŠ€ๆœฏ",
"pubdate":1724338758,
"source":"search:็ผ–็จ‹"
}

Comments (type: "comment") carry content, likeCount, replyCount, author, ctime. Danmaku (type: "danmaku") carry content, videoTime (seconds into the video), sendTime, color, mode, cid.

Notes

  • Data is sourced live; Bilibili occasionally rate-limits, so the Actor retries transient blocks with exponential backoff.
  • IDs are de-duplicated within a run.
  • A video's cid (needed for danmaku) is part of its video detail / parts data.

You might also like

Bilibili Video Scraper

gentle_cloud/bilibili-video-scraper

Scrape video data from Bilibili. Search by keyword or provide video URLs to extract titles, view counts, likes, danmaku, comments, author info, and more.