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:
parent
88b51d9895
commit
07c1efa686
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue