We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85f3abd commit 719f045Copy full SHA for 719f045
lib/youtube.js
@@ -8,7 +8,7 @@ const fetchYoutubeHeaders = {
8
'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'
9
}
10
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<=1080]+bestaudio/best[height<=1080] --sponsorblock-remove sponsor`
+const videoYTDLPArgs = `--concurrent-fragments 5 --merge-output-format webm/mp4 -f bestvideo[height<=720]+bestaudio/best[height<=720] --sponsorblock-remove sponsor`
12
13
function getOptionalCookiesPath() {
14
if (fs.existsSync('/app/cookies.txt')) return '/app/cookies.txt'
0 commit comments