Bilibili Danmaku (Bullet Comments) Scraper avatar

Bilibili Danmaku (Bullet Comments) Scraper

Pricing

from $0.50 / 1,000 danmaku comment scrapeds

Go to Apify Store
Bilibili Danmaku (Bullet Comments) Scraper

Bilibili Danmaku (Bullet Comments) Scraper

Extract timed danmaku (bullet comments) and timecodes from Bilibili videos by BV ID or URL. Fast, lightweight HTTP-only scraper.

Pricing

from $0.50 / 1,000 danmaku comment scrapeds

Rating

0.0

(0)

Developer

Axery

Axery

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

Bilibili Danmaku (Bullet Comments) Scraper 🚀

Extract timed danmaku (bullet screen comments), exact playback timestamps, sender user hashes, color codes, and display modes from any Bilibili video by URL or BV ID.

Fast, lightweight, and HTTP-only. No browser rendering or Bilibili account required.


🌟 Key Features

  • Accurate Timestamps: Get exact playback timecodes down to millisecond precision (time_seconds and time_formatted e.g. 01:02).
  • Full Comment Metadata: Extracts color hex codes (#FFFFFF, #FF0000), font size, display mode (rolling, top, bottom), and user CRC32 hash.
  • Multi-Part Video Support: Automatically resolves all video parts/pages (CIDs) for multi-episode series and playlists.
  • Ultra-Fast & Stable: Direct HTTP REST API implementation with sub-second execution speed.
  • Cost-Efficient: Minimal memory requirement (256MB - 512MB) and low Pay-Per-Event pricing.

📥 Input Parameters

ParameterTypeRequiredDefaultDescription
videoUrlsArray of StringsYes["BV1uv411q7Mv"]List of Bilibili video URLs or BV IDs.
maxDanmakuIntegerNo1000Maximum danmaku comments to retrieve per video part. Set to 0 for all available.
proxyConfigurationObjectNo{ "useApifyProxy": false }Optional proxy settings.

Example Input

{
"videoUrls": [
"https://www.bilibili.com/video/BV1uv411q7Mv",
"BV1GJ411x7h7"
],
"maxDanmaku": 500
}

📤 Sample Output

Each comment is saved as an individual dataset record:

{
"bvid": "BV1uv411q7Mv",
"cid": 214334689,
"part": 1,
"part_title": "Video Part 1",
"time_seconds": 61.58,
"time_formatted": "01:01",
"mode": 1,
"font_size": 25,
"color_hex": "#FFFFFF",
"created_at": "2024-03-15T08:24:19+00:00",
"user_hash": "772dfab9",
"row_id": "364581290381023",
"text": "2333333333 太搞笑了"
}

🎯 Ideal Use Cases

  • Audience Engagement Heatmaps: Map comment density spikes across video timelines to identify the most viral moments.
  • AI & NLP Sentiment Analysis: Feed real-time Chinese vernacular and bullet-chat commentary into LLMs.
  • Anime & Gaming Research: Track audience sentiment across ACG content and livestream archives.
  • Subtitle & Commentary Alignment: Sync community reactions with video playback for archive platforms.

💰 Pricing (Pay-Per-Event)

  • Actor Start: $0.005 per run
  • Danmaku Result: $0.0005 per comment scraped (only $0.50 per 1,000 comments)