From d71a8798dc566baee5899e239709cdf08ce9e785 Mon Sep 17 00:00:00 2001 From: BenJamin Morin Date: Wed, 3 Jan 2018 12:49:07 -0600 Subject: [PATCH] GimmePeers: fix support for Top 20 list (#2360) modified the ProcessPage Method to select the last table with the browsetable class attribute so that if the Top 20 table is visible it will be ignored and the master list is the only one that will display. Works with Top 20 on and off. --- src/Jackett.Common/Indexers/GimmePeers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett.Common/Indexers/GimmePeers.cs b/src/Jackett.Common/Indexers/GimmePeers.cs index a2b88a05e..9226f39ec 100644 --- a/src/Jackett.Common/Indexers/GimmePeers.cs +++ b/src/Jackett.Common/Indexers/GimmePeers.cs @@ -131,7 +131,7 @@ namespace Jackett.Indexers { CQ dom = results; - var rows = dom[".browsetable tr"]; //the class for the table changed + var rows = dom[".browsetable:last tr"]; //the class for the table changed foreach (var row in rows.Skip(1)) { var release = new ReleaseInfo();