d03c338b48
Fix log for podcast rss feed with no guid #4325
2025-05-24 17:09:58 -05:00
6ed66fea16
Update podcast rss feed parser to use psc chapters on episodes
2025-03-31 17:57:39 -05:00
6290cfaeb1
Auto format
2025-02-18 17:19:06 -06:00
f460297daf
fix: allow upgrading HTTP to HTTPS for redirects
...
Re: #3142 and #3658
When adding certain podcasts, the server encountered a redirect from an HTTP URL to an HTTPS domain, causing an error that was difficult for end users to diagnose without inspecting logs or HTML.
This issue arose due to SSRF security measures that blocked such redirects. Instead of failing in these cases, we now detect when the error is caused by an HTTP-to-HTTPS upgrade. If confirmed, we upgrade the initial URL to HTTPS and resend the request.
Since this change does not allow cross-protocol or cross-domain redirections, it remains secure while resolving most of the reported issues.
Affected podcasts that are now fixed:
- D&D is for Nerds
- The New Yorker: The Writer's Voice - New Fiction from The New Yorker
- Radiolab
2025-02-13 09:19:02 -06:00
3f7af8acfb
Add Accept-Encoding header to getPodcastFeed()
...
This commit adds the Accept-Encoding header to getPodcastFeed() with
gzip, compress, and deflate support. This allows servers to send a
compressed response that'll be decompressed by axios transparently.
Audiobookshelf is currently using axios v0.27.2, which enables the
decompress option by default. The decompress feature supports gzip,
compress, and deflate algorithms (see axios/lib/adapters/http.js).
axios v0.27.2 does not add the Accept-Encoding header to requests
automatically, so that's the responsibility of the caller.
2025-02-05 23:12:58 -06:00
bdd8e5bb58
Merge remote-tracking branch 'remotes/upstream/master' into allow-mrss-item-enclosures-for-podcasts
2025-01-20 10:28:09 +01:00
0f20ed101e
Update podcast RSS parser to handle HTML not wrapped in CDATA #3778
2025-01-10 15:42:52 -06:00
05ff5f1956
Merge pull request #3771 from sbyrx/master
...
Adds a configuration for podcast feed and episode download timeout
2025-01-08 14:10:20 -06:00
d5ce7b4939
Migrate to new library item in scanner
2025-01-05 12:05:01 -06:00
e64302f1d4
Merge branch 'advplyr:master' into master
2025-01-04 20:15:59 -05:00
d8823c8b1c
Update podcasts to new library item model
2025-01-04 12:41:09 -06:00
18dfbdd983
Merge remote-tracking branch 'remotes/upstream/master' into allow-mrss-item-enclosures-for-podcasts
2025-01-02 17:10:09 +01:00
0d8d0a650b
Adds a configuration for podcast feed and episode download timeout
2025-01-01 19:41:19 +00:00
331c7c011c
Support SSRF_REQUEST_FILTER_WHITELIST as a comma separated string of hostnames to pass through the ssrf request filter #3742
2024-12-23 17:18:08 -06:00
4d2241769e
also check for mrss item enclosures when extracting items
2024-12-18 19:15:09 +01:00
63b3f22504
Trim podcast descriptions #3720
2024-12-17 17:44:18 -06:00
45f8b06d56
Fix:CBC Radio podcast RSS feeds not accepting our user-agent string #3322
2024-11-15 08:30:54 -06:00
dbc7ad0b3b
Fix:Podcast episode match not properly encoding search query #3177
2024-07-18 16:43:00 -05:00
2673742d8d
Update User-Agent strings
2024-06-24 17:14:20 -05:00
2843a3b6d7
Add user agent string to feed requests
2024-06-23 12:35:37 -04:00
9c33446449
Update:Support for ENV variables to disable SSRF request filter (DISABLE_SSRF_REQUEST_FILTER=1) #2549
2024-06-03 17:21:18 -05:00
e8fa029df7
Fix:Specific podcast rss feed cannot be fetched due to accept header #2446
2024-01-10 08:12:26 -06:00
0d0bdce337
Fix:Fetch RSS feed request accept header #2446
2023-12-25 13:15:55 -06:00
f2f2ea161c
Update:API endpoint /podcasts/feed validates rssFeed URL and uses SSRF req filter
2023-12-17 12:00:11 -06:00
f659c3f11c
Fix:Podcast RSS feed request header to include application/rss+xml #2401
2023-12-09 13:51:28 -06:00
225dcdeafd
Fix:RSS feed parser for episode metadata tags that have attributes #1996
2023-10-28 16:11:15 -05:00
0d5792405f
Fix:Podcast episodes store RSS feed guid so they can be matched if the RSS feed changes the episode URL #2207
2023-10-16 17:47:44 -05:00
71369bd2a0
Update:Podcast rss feed fetch timeout to 12s #1856
2023-06-22 17:27:09 -05:00
0bb1cf002d
Fix:Crash when podcasts put empty spaces with episode file path in RSS feed #1650
2023-04-17 17:03:58 -05:00
3dc9416da6
Add:Chapters to podcast episodes #1646
2023-04-09 14:32:51 -05:00
4d110ebe7e
Fix:Podcast RSS feed parse when element has attributes #1650
2023-04-05 17:40:40 -05:00
b1ee54522a
Add support to podcast type
2023-02-22 18:22:52 +00:00
33846e46fa
Fix:Handle podcast RSS feeds with iso-8859-1 encoding #1489
2023-02-10 17:07:25 -06:00
3282ac67e4
Fix:Podcast pubDate parsing #1116
2022-11-06 15:43:17 -06:00
cb762c97a8
Fix:Podcast parsing pubDate from RSS feed #1072
2022-10-16 16:24:05 -05:00
70ef09f451
Add:Podcast quickmatch attempts quick matching unmatched episodes #983
2022-09-15 18:35:56 -05:00
514893646a
Add:OPML Upload for bulk adding podcasts #588
2022-05-29 11:46:45 -05:00
a394f38fe9
Add:Full podcast episode description parsed and viewable in modal #492
2022-05-28 11:38:51 -05:00
c4bfa266b0
Add:HTML sanitizer lib to support html in podcasts and replace strip html lib
2022-05-27 19:41:40 -05:00
6b98baafdf
Resolve @advplyr's feedback
...
Add 'itunes' tag to 'season' and fix display formating
2022-05-05 13:38:00 +00:00
cc285bb685
Add support for seasonal podcasts
...
Podcasts such as [Command Line Heroes](https://podcasts.apple.com/us/podcast/command-line-heroes/id1319947289 ) have multiple seasons in which each has it's own , . This seaks to add support for such podcast series.
2022-05-04 14:14:09 +00:00
d69f6020c6
Fix podcast episode playback session duration, use podcast episode plaintext description
2022-04-17 17:52:06 -05:00
4edba20e9e
Update podcast search page to support manually entering podcast RSS feed
2022-04-13 16:55:48 -05:00
920ca683b9
Podcast episode downloader, update podcast data model
2022-03-21 19:24:38 -05:00
43bbfbfee3
Fix library check path and set provider, update podcast model and UI
2022-03-19 06:41:54 -05:00
deadc63dbb
Add podcast add modal
2022-03-18 19:16:54 -05:00
b6e4f3a8c5
Add:Podcast RSS feed parser
2022-03-05 18:54:24 -06:00