mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-28 19:50:23 +02:00
Fix:Podcast episode download request failing due to user-agent string #3246
This commit is contained in:
parent
45c97a778d
commit
930bacd45d
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ module.exports.downloadPodcastEpisode = (podcastEpisodeDownload) => {
|
|||
method: 'GET',
|
||||
responseType: 'stream',
|
||||
headers: {
|
||||
'User-Agent': 'audiobookshelf (+https://audiobookshelf.org; like iTMS)'
|
||||
'User-Agent': 'audiobookshelf (+https://audiobookshelf.org)'
|
||||
},
|
||||
timeout: 30000
|
||||
}).catch((error) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue