This commit is contained in:
kaso17 2017-02-03 12:44:58 +01:00
commit 7f88f13ff5
1 changed files with 2 additions and 7 deletions

View File

@ -94,18 +94,13 @@ namespace Jackett.Indexers
try
{
CQ dom = response.Content;
var rows = dom[".torrents tr.torrent"];
var rows_alt = dom[".torrents tr.torrent_alt"]; // finds alternate releases
rows = rows.Add(rows_alt);
var rows = dom[".torrents tr.torrent, .torrents tr.torrent_alt"];
foreach (var row in rows)
{
var qRow = row.Cq();
var qTitleLink = qRow.Find("a.title").First();
if (qTitleLink.Length == 0) // alternate releases have a different class
qTitleLink = qRow.Find("a.alt_title").First();
var qTitleLink = qRow.Find("a.title, a.alt_title").First();
var title = qTitleLink.Text().Trim();
// Insert before the release info