Use yt-dlp to download music from Bilibili

Use yt-dlp to download music from Bilibili Link to Use yt-dlp to download music from Bilibili

yt-dlp Configuration Link to yt-dlp Configuration

PLAINTEXT
--cookies-from-browser firefox

Command to use Link to Command to use

First find the music you want to download, and then use the command below:

SHELL
yt-dlp -x -f bestaudio --audio-format mp3 'https://www.bilibili.com/video/BV17J411z7rg'

The music will be downloaded one by one to local by this way. After that you might want to use yazi to batch rename them. You can use sth like musikcube to enjoy the offline music.

Use yt-dlp to download music from Bilibili

Fri Apr 11 2025
125 Words · 1 Minutes