Descriptive filename

This commit is contained in:
rroller 2024-10-27 11:49:54 -07:00
parent 1a5f808f27
commit 8ade52606d

View file

@ -121,7 +121,7 @@ func getMediaResults(url 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) + "%(id)s.%(ext)s"
name := getMediaDirectory(id) + "%(title)s.%(ext)s"
log.Info().Msgf("Downloading %s to %s", url, id)