mirror of
https://github.com/R0m1k3/podcastic.git
synced 2026-10-11 17:26:20 +02:00
feat: implement rssParserService to handle feed parsing, episode extraction, and database synchronization
This commit is contained in:
1 parent
0d9bffbc46
commit
1e3caea1ab
1 file changed
+1
-1
@@ -48,7 +48,7 @@ export const rssParserService = {
|
||||
// Robust image extraction
|
||||
let imageUrl = feed.image?.url;
|
||||
if (!imageUrl && feed.itunes?.image) {
|
||||
imageUrl = typeof feed.itunes.image === 'string' ? feed.itunes.image : feed.itunes.image.href;
|
||||
imageUrl = typeof feed.itunes.image === 'string' ? feed.itunes.image : (feed.itunes.image as any).href;
|
||||
}
|
||||
|
||||
// Robust author extraction
|
||||
|
||||
Reference in new issue
Block a user