Skip to content

Commit 00352b5

Browse files
committed
feat: show progress download bar
1 parent b3e4ae5 commit 00352b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/youtube.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const fetchYoutubeHeaders = {
88
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36'
99
}
1010
const subtitlesYTDLPArgs = `--write-subs --write-auto-subs --sub-format vtt --convert-subs srt -k`
11-
const videoYTDLPArgs = quality => `--concurrent-fragments 5 --merge-output-format webm/mp4 -f bestvideo[height<=${quality}]+bestaudio/best[height<=${quality}] --sponsorblock-remove sponsor`
11+
const videoYTDLPArgs = quality => `--concurrent-fragments 5 --newline --progress --progress-delta 1 --merge-output-format webm/mp4 -f bestvideo[height<=${quality}]+bestaudio/best[height<=${quality}] --sponsorblock-remove sponsor`
1212

1313

1414
function getOptionalCookiesPath() {

0 commit comments

Comments
 (0)