Skip to content

Commit

Permalink
Tweak filename
Browse files Browse the repository at this point in the history
  • Loading branch information
rroller committed Nov 30, 2024
1 parent 925bd82 commit a7ac7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/media/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit a7ac7e7

Please sign in to comment.