Skip to content

Commit 85f3abd

Browse files
committed
feat: download in 1080p
1 parent c107b98 commit 85f3abd

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 = `--concurrent-fragments 5 --merge-output-format webm/mp4 -f bestvideo[height<=480]+bestaudio/best[height<=480] --sponsorblock-remove sponsor`
11+
const videoYTDLPArgs = `--concurrent-fragments 5 --merge-output-format webm/mp4 -f bestvideo[height<=1080]+bestaudio/best[height<=1080] --sponsorblock-remove sponsor`
1212

1313
function getOptionalCookiesPath() {
1414
if (fs.existsSync('/app/cookies.txt')) return '/app/cookies.txt'

0 commit comments

Comments
 (0)