Support binary payloads when downloading an m3u8
This commit is contained in:
parent
abbcd76178
commit
8ad4d67d84
2
.aliases
2
.aliases
|
@ -953,7 +953,7 @@ download_mp4_from_m3u8() {
|
|||
fi
|
||||
|
||||
printf "${BOLD}Downloading: ${YELLOW}$filename${NORMAL}\n"
|
||||
ffmpeg.exe -protocol_whitelist file,https,crypto,tls,tcp -i $m3u8_path -acodec copy -vcodec copy "${filename}.mp4"
|
||||
ffmpeg.exe -protocol_whitelist file,data,https,crypto,tls,tcp -allowed_extensions ALL -i $m3u8_path -acodec copy -vcodec copy "${filename}.mp4"
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
error "Error: failed to download."
|
||||
|
|
Loading…
Reference in New Issue
Block a user