Tweak filename
This commit is contained in:
parent
925bd82b9b
commit
a7ac7e7337
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ func getMediaResults(inputUrl string) ([]Media, string, error) {
|
||||||
func downloadMedia(url string) (string, 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
|
// The id will be used as the name of the parent directory of the output files
|
||||||
id := GetMD5Hash(url)
|
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)
|
log.Info().Msgf("Downloading %s to %s", url, id)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue