From a7ac7e7337446261ca6a52b79dc39839b01a31d8 Mon Sep 17 00:00:00 2001 From: rroller Date: Sat, 30 Nov 2024 12:54:32 -0800 Subject: [PATCH] Tweak filename --- src/media/fetch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/media/fetch.go b/src/media/fetch.go index b9b9851..c733da4 100644 --- a/src/media/fetch.go +++ b/src/media/fetch.go @@ -128,7 +128,7 @@ func getMediaResults(inputUrl string) ([]Media, string, error) { func downloadMedia(url string) (string, string, error) { // The id will be used as the name of the parent directory of the output files id := GetMD5Hash(url) - name := getMediaDirectory(id) + "%(title)s.%(ext)s" + name := getMediaDirectory(id) + "%(id)s.%(ext)s" log.Info().Msgf("Downloading %s to %s", url, id)