|
|
@ -28,8 +28,7 @@ func Download(link string, episodeTitle string, podcastName string, prefix strin
|
|
|
|
}
|
|
|
|
}
|
|
|
|
client := httpClient()
|
|
|
|
client := httpClient()
|
|
|
|
|
|
|
|
|
|
|
|
req, err := http.NewRequest("GET", link, nil)
|
|
|
|
req, err := getRequest(link)
|
|
|
|
req.Header.Add("User-Agent", "")
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
Logger.Errorw("Error creating request: "+link, err)
|
|
|
|
Logger.Errorw("Error creating request: "+link, err)
|
|
|
|
}
|
|
|
|
}
|
|
|
|