mirror of https://github.com/Jackett/Jackett
Merge branch 'master' of https://github.com/Jackett/Jackett.git
This commit is contained in:
commit
7f88f13ff5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue