core: rename comments field to details #10092 (#10135)

This commit is contained in:
Diego Heras
2020-11-08 03:11:27 +01:00
committed by GitHub
parent f0d8c88505
commit 2ea22af9ef
138 changed files with 249 additions and 404 deletions

View File

@@ -89,12 +89,12 @@ namespace Jackett.Common.Indexers
var magnetUri = new Uri(node.SelectSingleNode("link")?.InnerText);
var publishDate = DateTime.Parse(node.SelectSingleNode("pubDate").InnerText, CultureInfo.InvariantCulture);
var infoHash = node.SelectSingleNode(".//*[local-name()='info_hash']").InnerText;
var commentsUri = new Uri(BrowseUrl + node.SelectSingleNode(".//*[local-name()='show_id']").InnerText);
var details = new Uri(BrowseUrl + node.SelectSingleNode(".//*[local-name()='show_id']").InnerText);
var release = new ReleaseInfo
{
Title = title,
Comments = commentsUri,
Details = details,
Category = new List<int> { category },
Guid = magnetUri,
PublishDate = publishDate,