New: Send description element in nab response

This commit is contained in:
olly
2022-06-12 16:06:59 +08:00
committed by Qstick
parent d3ffb7b490
commit 761e15a476

View File

@@ -75,6 +75,7 @@ namespace NzbDrone.Core.IndexerSearch
let t = (r as TorrentInfo) ?? new TorrentInfo()
select new XElement("item",
new XElement("title", RemoveInvalidXMLChars(r.Title)),
new XElement("description", RemoveInvalidXMLChars(r.Description)),
new XElement("guid", r.Guid), // GUID and (Link or Magnet) are mandatory
new XElement("prowlarrindexer", new XAttribute("id", r.IndexerId), r.Indexer),
r.InfoUrl == null ? null : new XElement("comments", r.InfoUrl),