diff --git a/src/media/fetch.go b/src/media/fetch.go index 0ba05f5..9bf3828 100644 --- a/src/media/fetch.go +++ b/src/media/fetch.go @@ -113,7 +113,7 @@ func getMediaResults(r *http.Request) (MediaResults, error) { func downloadMedia(url 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)