Skip to content

Commit

Permalink
New: Send description element in nab response
Browse files Browse the repository at this point in the history
  • Loading branch information
lightolly authored and Qstick committed Jun 21, 2022
1 parent d3ffb7b commit 761e15a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/NzbDrone.Core/IndexerSearch/NewznabResults.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public string ToXml(DownloadProtocol protocol)
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),
Expand Down

0 comments on commit 761e15a

Please sign in to comment.