之前推荐好几个好用开源免费的视频下载工具,如 Gopeed 和 Lux,今天再向大家推荐一款功能强大,页面简洁的视频下载工具。
项目简介
项目特点
-
页面简洁,操作简单:类似百度的搜索页面,只需要输入视频链接,就能一键下载
-
支持主流视频网站:比如 YouTube、Bilibili、Netflix,tiktok,可以轻松下载这些网站上的音频和视频内容 -
支持自定义下载设置:允许用户自定义下载选项,比如视频质量,视频编码格式等,轻松下载所需视频
-
支持稳定高效的下载速度:采用先进的下载算法和技术,保障稳定高效的下载速度,提升效率,节省用户时间
安装部署
cobalt 的作者推荐使用 docker 部署,并提供了详细的部署指导。
首先创建一个文件夹,并创建一个 docker 部署 yml 文件:
mkdir cobalt
cd cobalt && nano docker-compose.yml
version: '3.5'
services:
:
image: ghcr.io/wukko/cobalt:7
restart: unless-stopped
container_name: cobalt-api
init: true
# if container doesn't run detached on your machine, uncomment the next line
#tty: true
ports:
9000:9000/tcp
# if you're using a reverse proxy, uncomment the next line and remove the one above (9000:9000/tcp):
#- 127.0.0.1:9000:9000
environment:
# replace https://co.wuk.sh/ with your instance's target url in same format
API_URL: "https://co.wuk.sh/"
# replace eu-nl with your instance's distinctive name
API_NAME: "eu-nl"
# if you want to use cookies when fetching data from services, uncomment the next line and the lines under volume
# COOKIE_PATH: "/cookies.json"
# see docs/run-an-instance.md for more information
labels:
com.centurylinklabs.watchtower.scope=cobalt
# if you want to use cookies when fetching data from services, uncomment volumes and next line
#volumes:
#- ./cookies.json:/cookies.json
:
image: ghcr.io/wukko/cobalt:7
restart: unless-stopped
container_name: cobalt-web
init: true
# if container doesn't run detached on your machine, uncomment the next line
#tty: true
ports:
9001:9001/tcp
# if you're using a reverse proxy, uncomment the next line and remove the one above (9001:9001/tcp):
#- 127.0.0.1:9001:9001
environment:
# replace https://cobalt.tools/ with your instance's target url in same format
WEB_URL: "https://cobalt.tools/"
# replace https://co.wuk.sh/ with preferred api instance url
API_URL: "https://co.wuk.sh/"
labels:
com.centurylinklabs.watchtower.scope=cobalt
# update the cobalt image automatically with watchtower
watchtower:
image: ghcr.io/containrrr/watchtower
restart: unless-stopped
command: --cleanup --scope cobalt --interval 900
volumes:
/var/run/docker.sock:/var/run/docker.sock
完成上面的工作后,启动容器即可:
docker compose up -d
除了上述的 docker 部署方式之外,还提供了 nodejs 的部署方式:
sudo apt install nscd
sudo service nscd start
项目展示
cobalt 提供了在线网站服务,网站首页如下:
下载操作非常简单,只需要将视频 URL 粘贴到输入框,然后点击右侧的 >>按钮,就可以下载视频了。
比如选择视频质量 720P 等,视频格式,如 av1(mp4),还可以选择设置 gif 转换。
总的来说,Cobalt 作为一个开源免费的视频下载工具,具有简单易用的特点,支持主流的视频网站、稳当高效的下载速度和灵活多样的下载选项,是一个非常不错的视频下载工具。不过在使用的过程中,我们需要遵守视频网站的规定,避免不必要的麻烦。
更多项目细节,感兴趣的可以到项目地址进行查看:
Github 项目地址:
https://github.com/wukko/cobalt