youwee icon indicating copy to clipboard operation
youwee copied to clipboard

这个项目下载B站可以爬取作者主页全部视频或者播放列表。这是yt-dlp做不到的。

Open tuming2025 opened this issue 1 month ago • 2 comments

项目地址:https://github.com/suwenhao/bilibili_down

能不能这款下载引擎集成到你的软件里。

tuming2025 avatar Nov 03 '26 19:11 tuming2025

I will consider it

vanloctech avatar Nov 12 '26 14:11 vanloctech

I will consider it

这是AI给我回复,它告诉我yt-dlp可以解析哔哩哔哩视频网站的合集解析。

Conclusion: Support Status & What the Issue Means

The maintainer replied with Issue #12185 to clarify an important distinction: yt-dlp fully supports video collections and multi-part playlists on the main Chinese Bilibili site (bilibili.com), whereas playlist parsing for the international site (bilibili.tv) is not yet supported. • International Site (bilibili.tv): That specific issue tracks the international extractor ([BiliIntl]). It is currently labeled as a site-enhancement (a pending feature request), meaning yt-dlp can only download individual videos from bilibili.tv for now. • Main Site (bilibili.com): yt-dlp supports playlists and collections on bilibili.com out of the box, provided you pass the right collection URL and command-line flags.

How to Parse & Download Collections on bilibili.com

Depending on how the videos are grouped on Bilibili, run the corresponding terminal command below (always wrap URLs in double quotes to prevent shell character errors):

  1. Multi-Part Videos (Multiple "P"s under a single BV ID)

For a single video entry containing multiple episodes/parts, passing the main video URL will automatically download all parts by default: bash yt-dlp "https://bilibili.com" 请谨慎使用此类代码。 • Download a specific range: To download only episodes 1 through 5, add the --playlist-items flag:bash yt-dlp --playlist-items 1-5 "https://bilibili.com" 请谨慎使用此类代码。

  1. Creator Collections & Series Lists

For playlists composed of separate BV video links (URLs usually contain collectiondetail or seriesdetail):

  1. Get the standalone collection URL: On the video playback page, click the collection title at the top of the playlist sidebar on the right to open its dedicated page.

  2. Run the download command: Copy the URL from your browser's address bar and run:bash yt-dlp "https://bilibili.com" 请谨慎使用此类代码。 (Note: Older series playlists use seriesdetail instead of collectiondetail in the URL—the command works identically for both.)

  3. Recommended Flags for Batch Downloading

When downloading collections, combine these flags for the best results: • Auto-numbering to keep order: Use -o "%(playlist_index)s-%(title)s.%(ext)s" to prepend the playlist index number to each filename. • Unlock High Resolution (1080P+ / 4K): Bilibili caps guest downloads at 480P. Pass your browser cookies (e.g., Chrome or Edge) to download high-definition streams:bash yt-dlp --cookies-from-browser chrome -o "%(playlist_index)s-%(title)s.%(ext)s" "COLLECTION_URL" 请谨慎使用此类代码。 (Note: Downloading 1080P+ requires ffmpeg installed locally so yt-dlp can merge the separate video and audio tracks.) If you'd like to customize the command further for your friend, let me know: • Whether the target is bilibili.com or bilibili.tv • The type of playlist (multi-part video, creator collection, or user favorites) • Any extra needs like subtitles, danmaku (bullet comments), or specific resolutions I can put together the exact command line for you.

tuming2025 avatar Nov 24 '26 20:11 tuming2025