项目简介
Videodl: A lightweight video downloader written in pure python. (轻量级视频下载器,优先高清无水印,支持抖音,快手,小红书,B站,TikTok,YouTube,FIFA+,优酷,腾讯,爱奇艺,1905电影网,乐视,芒果,咪咕,PPTV,搜狐,Facebook,Twitter,新浪微博,今日头条,网易公开课,全民K歌,CCTV央视频,酷狗音乐MV,新片场,知乎,百度贴吧,TED等海量流媒体平台)

- 项目地址:CharlesPikachu/videodl
- Stars:3223
- 主语言:Python
- 主题标签:
#acfun#baidu#bilibili#cntv#crawler#douyin#kuaishou#mgtv
基本使用
克隆仓库后阅读 README 文档,按照项目说明进行配置和运行。本项目开源免费,欢迎 Star 和贡献代码。
注意事项
- 请前往项目主页查看最新版本和文档
- 部分项目需要配合 API Key 或配置文件使用
- 建议在隔离环境中测试后再部署到生产环境
本文由自动化整理发布,项目信息来自 GitHub。如有疑问请参考项目官方文档。
安装部署(实操步骤)
1. 前置准备
- 项目仓库:CharlesPikachu/videodl(https://github.com/CharlesPikachu/videodl)
- 需要本机具备 Git;按项目语言准备对应运行时(Python / Node.js / Go / Java 等)
- 建议先在本机或测试服务器上跑通,再部署到生产环境
- 遇到依赖版本问题时,以仓库 README 与 Releases 说明为准
2. 官方安装 / 启动命令(摘自项目 README,可直接复制执行)
and downloads from many other sites that provide m3u8/HLS streams may also be significantly limited.
As with FFmpeg, after installation you should make sure this tool can be run directly from the command line, *i.e.*, its location is included in your system `PATH`.
A quick way to check whether N_m3u8DL-RE has been installed successfully is to open a terminal (or Command Prompt on Windows) and run,
If N_m3u8DL-RE is installed correctly, `N_m3u8DL-RE --version` will print the N_m3u8DL-RE version (*e.g.*, `0.5.1+c1f6db5639397dde362c31b31eebd88c796c90da`).
If you see a similar `command not found` / `not recognized` error, N_m3u8DL-RE is not installed correctly or not available on your `PATH`.
- **[Bento4](https://www.bento4.com/)**: Bento4 is an open-source MP4/DASH/HLS/CMAF toolkit, and in the N_m3u8DL-RE ecosystem it is mainly related as the source of auxiliary utilities such as "mp4decrypt" for handling certain packaged media workflows.
Therefore, when using N_m3u8DL-RE to handle some packaged media workflows that involve encryption (*e.g.*, `TBNUKVideoClient` and `PlayerPLVideoClient`), you need to make sure the Bento4 tools are available in your runtime environment.
A quick way to verify Bento4 is that you should be able to run
3. 部署流程
- 克隆仓库:
git clone https://github.com/CharlesPikachu/videodl - 进入目录后按上面的官方命令安装依赖
- 参考 README 的配置说明填写配置文件或环境变量
- 按官方说明启动服务,确认监听端口与访问地址
- 浏览器访问验证功能,确认无报错后再开放外网
4. 常见问题排查
- 依赖安装失败:先升级包管理器,再确认运行时版本符合 README 要求
- 启动报端口占用:修改配置中的端口或释放被占用端口
- 页面打不开:检查防火墙 / 安全组是否放行对应端口
- 功能异常:查看运行日志,对照 Issues 中同类问题处理