diff --git a/client/settings.html b/client/settings.html index a4922cf..6331431 100644 --- a/client/settings.html +++ b/client/settings.html @@ -110,7 +110,7 @@ diff --git a/service/fileService.go b/service/fileService.go index e2ca745..6f9c921 100644 --- a/service/fileService.go +++ b/service/fileService.go @@ -28,8 +28,7 @@ func Download(link string, episodeTitle string, podcastName string, prefix strin } client := httpClient() - req, err := http.NewRequest("GET", link, nil) - req.Header.Add("User-Agent", "") + req, err := getRequest(link) if err != nil { Logger.Errorw("Error creating request: "+link, err) }