Giter VIP home page Giter VIP logo

aliyun-m3u8-downloader's Introduction

aliyun-m3u8-downloader

aliyun-m3u8-downloader 是一个使用了 Go 语言编写的迷你 M3U8 下载工具, 支持阿里云m3u8私有加密。 该工具就会自动帮你解析 M3U8 文件,并将 TS 片段下载下来合并成一个文件。

本工具只供学习研究,如有侵权请联系删除

定制

可定制开发使用以下视频云服务的第三方平台下载器,详细咨询微信:lbbniu-com

  • 阿里云私有音视频加密
  • 火山引擎视频云点播
  • 百度智能云视频点播
  • 华为云视频点播
  • 保利威 Polyv:(未开源)支持v1104、v12(VRM12)、v13(VRM13),其他版本待测试(预测可以通杀)

插件

目前支持的闭源全自动批量下载器插件包括:

main about

功能

  • 支持阿里云M3U8私有加密解密
  • 下载和解析 M3U8(仅限 VOD 类型)
  • 下载 TS 失败重试
  • 解析 Master playlist
  • 解密 TS
  • 合并 TS 片段

用法

源码方式

# 交叉编译
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o m3u8-downloader
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -o m3u8-downloader
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o m3u8-downloader.exe
# 普通m3u8下载
go run main.go normal -u=https://www.lbbniu.com/index.m3u8 -o=/data/example --chanSize 1
# 阿里云m3u8私有加密
go run main.go aliyun -p "WebPlayAuth" -v 视频id -o=/data/example --chanSize 1

二进制方式:

Linux 和 MacOS

# 普通m3u8下载
./aliyun-m3u8-downloader normal -u https://www.lbbniu.com/index.m3u8 -o=/data/example --chanSize 1
# 阿里云m3u8私有加密
./aliyun-m3u8-downloader aliyun -p "PlayAuth" -v 视频id -o=/data/example --chanSize 1
# 火山引擎视频云视频下载
./aliyun-m3u8-downloader bytedance -p "PlayAuthToken" -o=/data/example --chanSize 1# 火山引擎视频云视频下载
# 百度智能云视频下载
./aliyun-m3u8-downloader baidu -u m3u8视频地址 -t token  -o=/data/example --chanSize 1

下载

二进制文件

参考资料

联系开发者

wechat

License

MIT License

aliyun-m3u8-downloader's People

Contributors

lbbniu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.