Youtube dl REST
1.0.0
Through this project, you can build a web page to quickly download various Youtube and Bili videos. Online address: https://y2b.455556.xyz
If you are using docker, it is recommended to run this project with the following command:
docker volume create vol
docker run -it -d --name youtube-dl-rest -p 80:80 -v vol:/Youtube-dl-REST imgxx/youtube-dl-rest
You may need to modify config.json, replace your own cookies.txt and other files, and then restart the container:
vi /var/lib/docker/volumes/vol/_data/config.json
vi /var/lib/docker/volumes/vol/_data/cookies.txt
docker restart youtube-dl-rest
If you are not using docker, follow these steps to install:
Taking Ubuntu as an example, use snapd to install:
sudo apt install -y snapd
sudo snap install core
sudo snap install node --classic --channel=14
node -v
Make sure the yt-dlp command and ffmpeg command are available:
sudo yt-dlp -U
ffmpeg -version
After cloning, use npm to install the dependency module:
git clone https://github.com/develon2015/Youtube-dl-REST.git
cd Youtube-dl-REST
npm install
You'd better run in screen or tmux:
npm start