Trim filename

This commit is contained in:
Ronnie 2024-11-30 12:38:56 -08:00 committed by GitHub
parent 07acfc9729
commit 925bd82b9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -135,7 +135,7 @@ func downloadMedia(url string) (string, string, error) {
cmd := exec.Command("yt-dlp", cmd := exec.Command("yt-dlp",
"--format", "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best", "--format", "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best",
"--merge-output-format", "mp4", "--merge-output-format", "mp4",
"--trim-filenames", "100", "--trim-filenames", "40",
"--restrict-filenames", "--restrict-filenames",
"--write-info-json", "--write-info-json",
"--verbose", "--verbose",