Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rroller committed Dec 1, 2024
1 parent a7ac7e7 commit 795b8c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/media/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ func downloadMedia(url string) (string, string, error) {
id := GetMD5Hash(url)
name := getMediaDirectory(id) + "%(id)s.%(ext)s"

log.Info().Msgf("Downloading %s to %s", url, id)
log.Info().Msgf("Downloading %s to %s", url, name)

cmd := exec.Command("yt-dlp",
"--format", "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best",
"--merge-output-format", "mp4",
"--trim-filenames", "40",
"--trim-filenames", "100",
"--restrict-filenames",
"--write-info-json",
"--verbose",
Expand Down

0 comments on commit 795b8c8

Please sign in to comment.