TVChaosUK: fix parse error

This commit is contained in:
kaso17 2018-05-20 09:51:18 +02:00
parent 0a07738c5b
commit af94dd2757
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ using Jackett.Common.Models.IndexerConfig;
using Jackett.Common.Services.Interfaces;
using Jackett.Common.Utils;
using Jackett.Common.Utils.Clients;
using static Jackett.Common.Utils.ParseUtil;
using Newtonsoft.Json.Linq;
using NLog;
@ -195,6 +196,7 @@ namespace Jackett.Common.Indexers
if (query.IsTest || string.IsNullOrWhiteSpace(searchString))
{
var rssPage = await RequestStringWithCookiesAndRetry(string.Format(RSSUrl, configData.RSSKey.Value));
rssPage.Content = RemoveInvalidXmlChars(rssPage.Content);
var rssDoc = XDocument.Parse(rssPage.Content);
foreach (var item in rssDoc.Descendants("item"))