mirror of
https://github.com/Jackett/Jackett
synced 2024-12-27 02:09:24 +00:00
TVChaosUK: fix parse error
This commit is contained in:
parent
0a07738c5b
commit
af94dd2757
1 changed files with 2 additions and 0 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue