Bilibili Full Scraper avatar

Bilibili Full Scraper

Pricing

from $10.00 / 1,000 bilibili video downloadeds

Go to Apify Store
Bilibili Full Scraper

Bilibili Full Scraper

Download Bilibili videos, plus Bilibili comments, danmaku, uploaders, search, rankings, manga and games. 18 modes, no login or cookies needed.

Pricing

from $10.00 / 1,000 bilibili video downloadeds

Rating

0.0

(0)

Developer

Monster Leads

Monster Leads

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Bilibili Full Scraper — Download Bilibili Videos & Scrape All Bilibili Data

Download Bilibili videos and scrape everything else on Bilibili from one actor: Bilibili comments, Bilibili danmaku, Bilibili uploaders, Bilibili search, Bilibili rankings, Bilibili manga and Bilibili games.

Paste any Bilibili link — bilibili.com/video/BV..., a b23.tv short link, a BV id or an old av number — and get direct video download URLs back, with no Bilibili login, no cookies and no browser.

18 modes. Every public Bilibili endpoint, one actor.


Every Bilibili scraper in one

#ModeWhat this Bilibili scraper returns
⬇️Bilibili video downloaderDirect video + audio download URLs, quality, codec, resolution, ready-to-run ffmpeg command
🎬Bilibili video scraperTitle, description, tags, partition, uploader, views, likes, coins, favourites
💬Bilibili comment scraperComments and replies with likes, author level and IP region
🌠Bilibili danmaku scraperThe scrolling 弹幕 comments with their timestamp in the video
👤Bilibili uploader scraperUP主 followers, total views, total likes, level, verification, video list
🔎Bilibili search scraperBilibili video search results for any keyword, Chinese or English
🔥Bilibili popular scraperThe 综合热门 popular feed
🏆Bilibili ranking scraperBilibili ranking boards (排行榜), site-wide or per partition
🔗Bilibili related videos scraperWhat Bilibili recommends beside a given video
🧭Bilibili channel scraperEvery Bilibili partition (分区) and its tid
📚Bilibili manga scraperBilibili Manga (漫画) titles, authors, genres, episodes, fans, scores
🎮Bilibili games scraperBilibili Games entries with biligame ids
📣Bilibili promo scraperWhat Bilibili promotes on its homepage right now
📈Bilibili heatmap scraper高能进度条 — which seconds of a video get rewatched most
🖼️Bilibili thumbnail scraperSeek-bar preview sprite sheets
📄Bilibili video parts scraperThe 分P part list, with the cid for each part
🪪Bilibili uploader card scraperFast, lightweight UP主 profile
🎪Bilibili campaign scraper征稿企划 submission drives

How to download Bilibili videos

  1. Pick ⬇️ Download Bilibili videos in What do you want to do?
  2. Paste one or more Bilibili links into Bilibili video links.
  3. Choose a quality, codec and audio track (the defaults are fine).
  4. Run it.

Each Bilibili video becomes one row containing:

FieldWhat it is
video_urlThe Bilibili video file — no audio, see below
audio_urlThe Bilibili audio file, separate
ffmpeg_commandPaste-ready command that joins the two into one MP4
needs_muxtrue when the two files must be joined
quality_nameWhat you actually got — 480P, 1080P, …
quality_cappedWhy you got less than you asked for, when that happens
expires_in_humanHow long the download URLs stay alive
required_user_agent / required_refererHeaders the CDN demands

⚠️ Three things that make a Bilibili download look broken when it is not

1. Bilibili videos have separate video and audio files. Bilibili serves DASH. video_url on its own downloads a perfectly valid, completely silent file. Use the ffmpeg_command on the row to join them:

ffmpeg -user_agent '<UA>' -referer 'https://www.bilibili.com/' -i '<video_url>' \
-user_agent '<UA>' -referer 'https://www.bilibili.com/' -i '<audio_url>' \
-c copy 'video.mp4'

The command on each row already has the right URLs and headers filled in.

2. Downloading needs two headers, or the CDN returns 403. A plain curl -O on a Bilibili stream URL fails every time. Both a browser User-Agent and a https://www.bilibili.com/ Referer are required. Every row carries them, and curl_video_command has them pre-filled.

3. Bilibili download URLs expire in about two hours. Bilibili's CDN links are time-limited and tied to the IP that fetched them. expires_in_human on each row tells you how long you have. Re-run to get fresh Bilibili download URLs.

Bilibili video quality without an account

Bilibili gates high-quality streams behind a logged-in account. Because this Bilibili scraper runs without any login, downloads are capped at 480P. Asking for 1080P still works and still returns the file — you get the best tier Bilibili serves anonymously, and quality_capped says exactly why.

Bilibili qualityAvailable here
360P, 480P✅ Yes
720P, 1080P❌ Needs a Bilibili account
1080P+, 1080P60, 4K, HDR, 8K❌ Needs Bilibili Premium (大会员)

Scrape Bilibili comments and danmaku

Bilibili comments come with likes, reply counts, author level and the coarse IP region Bilibili shows publicly. Turn on replies to walk the full thread under each comment.

Bilibili danmaku (弹幕) is Bilibili's signature feature and has no equivalent on other platforms — the comments that scroll across the video. Each row carries the second of the video it appears at, its style and colour, so you can plot comment density over a video's timeline.

The Danmaku mode returns the historical snapshot Bilibili stores per video. Live danmaku travels over a websocket and cannot be scraped.


Scrape Bilibili manga and games

Bilibili Manga scraper (漫画) — three boards: hot, fans (popularity chart with fan counts) and recommend. Each Bilibili manga row has authors, genres, tags, episode count, latest chapter, completion status, chart rank, fan count, supporter count, review score and synopsis.

Bilibili Manga is a separate service from the video site, so a comic_id opens the manga reader and is not a video id.

Bilibili Games scraper — entries from Bilibili's games navigation with their biligame id where one exists. Not every entry is a game; the kind column separates real games from campaign and activity pages.


Bilibili heatmap scraper (高能进度条) returns one row per time bucket showing how heavily each moment of a video is rewatched, with the peak flagged — it plots directly as a chart, and shows which parts of a Bilibili video actually hold attention.

Bilibili ranking scraper reads any partition's board; run the Bilibili channel scraper first to get every partition's tid.

Bilibili popular scraper reads the site-wide 综合热门 feed.


Reading your Bilibili results

Every run writes to one dataset, and the tab you land on is Overview — it shows readable columns for every Bilibili row type, so a manga run, a heatmap run and a download run all display properly there. Columns are never left blank: a value that genuinely does not exist for a row type shows as , while a real zero shows as 0.

Switch tabs for the full field set of one Bilibili record type:

TabContains
OverviewEverything, in shared columns
Bilibili downloadsDownload URLs, quality, ffmpeg commands, expiry
Bilibili videosVideo metadata and engagement stats
Bilibili commentsComments and replies
Bilibili danmakuScrolling 弹幕 comments
Bilibili uploadersUP主 profiles
Bilibili manga漫画 titles
Bilibili gamesGames navigation
Bilibili promosHomepage promo slots
Bilibili heatmapRewatch heat per second
Bilibili preview thumbnailsSeek-bar sprite sheets
Bilibili video parts分P list with cids
Bilibili channelsPartitions and their tid
Bilibili campaigns征稿企划 drives

Because the Overview keeps only shared columns, these mean different things per row type:

Overview columnBilibili videoBilibili commentBilibili uploaderBilibili manga
Bilibili resulttitlecomment textuploader namemanga title
Uploaderuploadercomment authoruploader nameauthors
Views / likes / followersviewslikesfollowersfans
Bilibili IDBV idcomment idmidcomic id

Getting Bilibili data out by API

Omitting ?view= returns all fields of every row. Adding a view filters the response to that view's columns:

https://api.apify.com/v2/datasets/<datasetId>/items ← all fields
https://api.apify.com/v2/datasets/<datasetId>/items?view=downloads ← download URLs
https://api.apify.com/v2/datasets/<datasetId>/items?view=comments ← Bilibili comments
https://api.apify.com/v2/datasets/<datasetId>/items?view=danmaku ← Bilibili danmaku
https://api.apify.com/v2/datasets/<datasetId>/items?view=manga ← Bilibili manga
https://api.apify.com/v2/datasets/<datasetId>/items?view=heatmap ← Bilibili heatmap

FormatExample
Full Bilibili video linkhttps://www.bilibili.com/video/BV1xx411c7mD
Bilibili short linkhttps://b23.tv/aBcDeF
Bare BV idBV1xx411c7mD
Legacy av numberav170001 or 170001
Bilibili uploader pagehttps://space.bilibili.com/546195
Bare uploader id (mid)546195

BV ids are case-sensitiveBV1xx411c7mD is not the same as bv1xx411c7md.


One form, every mode

The Apify input form has no way to hide fields that do not apply to the mode you picked, so every mode's fields are visible at once. Only the fields belonging to the selected mode are read.

Each section header names the mode that owns it, and the run warns you before it scrapes if you filled in a field the selected mode ignores:

Mode is 'manga', so these inputs are IGNORED by this run: videoUrls
"videoUrls" is used by the ⬇️ Download Bilibili videos mode.
If that is not what you wanted, change "What do you want to do?" at the top
of the input form and run again.

Pricing

Pay per result. You are charged only for Bilibili data actually delivered.

$0.01 per result — Bilibili video download, uploader profile, video info, preview thumbnails, campaign.

$0.001 per result — Bilibili comment, danmaku, video in a list (search, ranking, popular, related), manga title, game, promo, heatmap point, video part, channel.

A Bilibili video that is deleted, members-only or region-locked still appears in your dataset with an error field explaining why — and costs nothing. A run of 50 Bilibili links where 3 fail bills for 47.


Frequently asked questions

Can I download Bilibili videos without an account? Yes. No Bilibili login, cookie or token is needed. Quality is capped at 480P without an account — that is Bilibili's limit, not this scraper's.

Why is my downloaded Bilibili video silent? Bilibili stores video and audio separately. Download audio_url too and join them with the ffmpeg_command on the row.

Why does my Bilibili download URL return 403? The CDN requires a browser User-Agent and a bilibili Referer. Use the curl_video_command on the row, which includes both.

Why did my Bilibili download URL stop working? Bilibili URLs expire in roughly two hours. Re-run to get fresh ones.

Can this scrape Bilibili manga? Yes — the Bilibili manga scraper mode reads the hot, fans and recommend boards with authors, genres, episode counts, fan counts and scores.

Can this download Bilibili anime, films or paid series? No. Bilibili PGC content (番剧, 电影, 电视剧) is behind a paid account and is not accessible anonymously.

Can I get Bilibili live danmaku? No. Live danmaku travels over a websocket. The Danmaku mode returns the historical snapshot Bilibili stores per video.

Does the Bilibili search scraper work with Chinese keywords? Yes. Bilibili search handles both Chinese and English terms.

How do I scrape a specific part of a multi-part Bilibili video? Run the Bilibili video parts mode to list every 分P and its cid.


This Bilibili scraper collects only publicly available Bilibili data — nothing behind a Bilibili login. You are responsible for how you use what you collect, including complying with Bilibili's terms and any copyright in the videos you download. Downloaded Bilibili videos remain the property of their creators.