From 61eb75f7e128c78cf96503657a6b29c9f8ce1be4 Mon Sep 17 00:00:00 2001 From: Diego Heras Date: Fri, 25 Sep 2020 00:22:48 +0200 Subject: [PATCH] iptorrents: remove files column. resolves #9434 (#9633) --- src/Jackett.Common/Indexers/IPTorrents.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Jackett.Common/Indexers/IPTorrents.cs b/src/Jackett.Common/Indexers/IPTorrents.cs index 3fd4fd004..e4f269d52 100644 --- a/src/Jackett.Common/Indexers/IPTorrents.cs +++ b/src/Jackett.Common/Indexers/IPTorrents.cs @@ -49,7 +49,7 @@ namespace Jackett.Common.Indexers private new ConfigurationDataCookie configData => (ConfigurationDataCookie)base.configData; - public IPTorrents(IIndexerConfigurationService configService, Utils.Clients.WebClient wc, Logger l, IProtectionService ps) + public IPTorrents(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps) : base(id: "iptorrents", name: "IPTorrents", description: "Always a step ahead.", @@ -224,9 +224,8 @@ namespace Jackett.Common.Indexers // Torrents - Category column == Icons var cat = MapTrackerCatToNewznab(catIcon.GetAttribute("href").Substring(1)); - var grabs = ParseUtil.CoerceInt(row.QuerySelector("td:nth-last-child(3)").TextContent); var size = ReleaseInfo.GetBytes(row.Children[5].TextContent); - var files = ParseUtil.CoerceInt(row.Children[6].TextContent); + var grabs = ParseUtil.CoerceInt(row.Children[6].TextContent); var seeders = ParseUtil.CoerceInt(row.QuerySelector(".t_seeders").TextContent.Trim()); var leechers = ParseUtil.CoerceInt(row.QuerySelector(".t_leechers").TextContent.Trim()); var dlVolumeFactor = row.QuerySelector("span.t_tag_free_leech") != null ? 0 : 1; @@ -241,7 +240,6 @@ namespace Jackett.Common.Indexers Category = cat, Description = description, Size = size, - Files = files, Grabs = grabs, Seeders = seeders, Peers = seeders + leechers,