mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-03-19 09:38:18 +01:00
Fix:Podcast episode download request failing due to user-agent string #3246
This commit is contained in:
parent
45c97a778d
commit
930bacd45d
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user