Bilibili (哔哩哔哩, B站) video search scraper: search videos by keyword and export the trending Popular (热门), Ranking top 100 (排行榜) and Weekly Must-Watch (每周必看) lists. Views, likes, danmaku, comments, coins, shares, uploader (UP主), tags and category. No login, no cookies.
A Bilibili search link from a phone (m.bilibili.com/search?keyword=...) or any other bilibili.com page with a
keyword parameter is read for its keyword, like search.bilibili.com links already were. Other links are searched
as typed.
README opens with the input, an output sample and the price; listing names the Chinese site names and the trending
lists. Output and price unchanged.
0.1 (2026-11-13)
First release: Bilibili video search by keyword, in Bilibili's order, with the search page's sort, duration,
category and publish-date filters; up to 1,000 videos per keyword.
Popular lists: Popular now (综合热门), Ranking by category, Weekly Must-Watch (latest or any issue) and All-Time
Must-Watch.
Live counters on search rows: plays, likes, danmaku, comments, favourites, coins and shares read from each video's
own data, as its page shows them (statsSource: video); can be turned off for the search index's figures.
One free summary row per keyword or list: videos saved, pages read, Bilibili's count, paid courses, repeats and
deleted or hidden videos skipped, status and reason.
Before release (builds 0.1.2-0.1.3): residential budget raised to 25 KB per row; a keyword's search pages are read
back to back before the counters (fewer videos lost between pages); deleted or hidden videos are skipped and not
charged; no uploader avatars; liveStatsRead counts saved rows only.
Build 0.1.4: a run that Apify moves to another server goes on where it stopped: finished keywords and lists are not
read again and no video is saved or charged twice (state kept in the run's key-value store as STATE).