Fix:Podcast episode download request failing due to user-agent string #3246

This commit is contained in:
advplyr 2024-08-05 16:59:37 -05:00
parent 45c97a778d
commit 930bacd45d

View File

@ -104,7 +104,7 @@ module.exports.downloadPodcastEpisode = (podcastEpisodeDownload) => {
method: 'GET', method: 'GET',
responseType: 'stream', responseType: 'stream',
headers: { headers: {
'User-Agent': 'audiobookshelf (+https://audiobookshelf.org; like iTMS)' 'User-Agent': 'audiobookshelf (+https://audiobookshelf.org)'
}, },
timeout: 30000 timeout: 30000
}).catch((error) => { }).catch((error) => {