yt-dlp Command Generator for Bilibili
Build a yt-dlp command for Bilibili, starting with the browser impersonation that avoids most 403 errors.
403 errors and quality limits
Bilibili rejects requests that do not look like a browser, which is why a plain command often returns 403. Impersonation is switched on in this preset because it is the fix in most cases.
1080p and above are usually reserved for logged-in or premium accounts, so cookies matter here for quality and not just for access. Multi-part videos appear as playlist entries.
Frequently asked questions
› Why does Bilibili return 403?
Bilibili rejects requests that do not look like a browser. --impersonate chrome fixes this most of the time; add cookies for member-only content.
› How do I download 1080p or higher from Bilibili?
Higher resolutions are reserved for logged-in and sometimes premium accounts. Use --cookies-from-browser with such an account.
› How do I get every part of a multi-part video?
Set playlist handling to the whole playlist — the parts are exposed as playlist entries.