trong / adobehds
一个用于下载Adobe HDS流的PHP脚本
1.1.1
2015-03-17 21:20 UTC
Requires
- php: >=5.3.3
This package is not auto-updated.
Last update: 2024-09-28 16:39:16 UTC
README
一个用于下载Adobe HDS流的PHP脚本。从K-S-V分支而来。
安装
composer require "trong/adobehds:1.1.*"
用法
$ vendor/bin/adobehds --help
KSV Adobe HDS Downloader
You can use script with following switches:
--help displays this help
--debug show debug output
--delete delete fragments after processing
--fproxy force proxy for downloading of fragments
--play dump stream to stdout for piping to media player
--rename rename fragments sequentially before processing
--version display script version
--auth [param] authentication string for fragment requests
--duration [param] stop recording after specified number of seconds
--filesize [param] split output file in chunks of specified size (MB)
--fragments [param] base filename for fragments
--fixwindow [param] timestamp gap between frames to consider as timeshift
--manifest [param] manifest file for downloading of fragments
--maxspeed [param] maximum bandwidth consumption (KB) for fragment downloading
--outdir [param] destination folder for output file
--outfile [param] filename to use for output file
--parallel [param] number of fragments to download simultaneously
--proxy [param] proxy for downloading of manifest
--quality [param] selected quality level (low|medium|high) or exact bitrate
--referrer [param] Referer to use for emulation of browser requests
--start [param] start from specified fragment
--useragent [param] User-Agent to use for emulation of browser requests
--forwarded [param] Hostname to forward for (X-Forwarded-For HTTP header)
新增功能
除了原始功能外,此分支还支持以下功能
- 可以指定
X-Forwarded-For
HTTP头。 (--forwarded)
移除功能
- 可以使用脚本更新脚本。我认为这是一个安全风险。 (--update)