1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-22 07:43:13 +00:00

erairaws: handled missing subtitles. resolves #15687

This commit is contained in:
Garfield69 2024-11-05 06:54:55 +13:00
parent 88b51d9895
commit 07c1efa686

View file

@ -265,6 +265,10 @@ namespace Jackett.Common.Indexers.Definitions
var description = rssItem.SelectSingleNode("description")?.InnerText; var description = rssItem.SelectSingleNode("description")?.InnerText;
var quality = rssItem.SelectSingleNode("erai:resolution", nsm)?.InnerText; var quality = rssItem.SelectSingleNode("erai:resolution", nsm)?.InnerText;
var subs = rssItem.SelectSingleNode("erai:subtitles", nsm)?.InnerText; var subs = rssItem.SelectSingleNode("erai:subtitles", nsm)?.InnerText;
if (string.IsNullOrEmpty(subs))
{
subs = "[]";
}
item = new RssFeedItem item = new RssFeedItem
{ {