From 9cadde6fd58a5a76c8af7aaa1d64e918ad6d2eb6 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 11 Dec 2023 16:05:44 +0200 Subject: [PATCH] fix cs --- src/Jackett.Common/Indexers/IPTorrents.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Indexers/IPTorrents.cs b/src/Jackett.Common/Indexers/IPTorrents.cs index d4627a57d..dbc57a857 100644 --- a/src/Jackett.Common/Indexers/IPTorrents.cs +++ b/src/Jackett.Common/Indexers/IPTorrents.cs @@ -356,10 +356,10 @@ namespace Jackett.Common.Indexers description += dateSplit.Length > 1 ? " Uploaded by: " + dateSplit.Last().Trim() : ""; var releaseGenres = validTagList.Intersect(description.ToLower().Split(delimiters, StringSplitOptions.RemoveEmptyEntries)).ToList(); + // Torrents - Category column == Text or Code + // release.Category = MapTrackerCatDescToNewznab(row.Cq().Find("td:eq(0)").Text()); // Works for "Text" but only contains the parent category var catIcon = row.QuerySelector("td:nth-of-type(1) a"); if (catIcon == null) - // Torrents - Category column == Text or Code - // release.Category = MapTrackerCatDescToNewznab(row.Cq().Find("td:eq(0)").Text()); // Works for "Text" but only contains the parent category { throw new Exception("Please, change the 'Torrents - Category column' option to 'Icons' in the website Settings. Wait a minute (cache) and then try again."); }