write by go (For fun,so my code might be not so good🥹)
This project needs ffmpeg dependence!
It needs SESSDATA to get High Resolution Video(without it, it could only get 480p)
You could write bid and your SESSDATA in config.json(it seems silly), it will load it when exec
Also you could get SESSDATA by scaning the qrcode too.Just take a look in my code.
- Episode video download
- Download by url
- Get SESSDATA by scaning qrcode
TODO
- Download list
- .....
You could find your SESSDATA after your log in bilibili and find it in request header in cookies
make
.\BiliDownloader.exe
- the file will be saved at ./download_path named as
{bid}{name}.mp4
You could also paste url here if there is nothing in config(But SESSDATA is NESSARY)