Fix Bit-HDTV (#1232)

Table size changed and now there can be more then 1 table (used for
pinned results.)  This will now search all tables, skipping header row.
This commit is contained in:
Brian Hartvigsen
2017-04-01 05:34:23 -07:00
committed by kaso17
parent 3823019741
commit cc43bbacd6

View File

@@ -102,7 +102,9 @@ namespace Jackett.Indexers
{
CQ dom = results.Content;
dom["#needseed"].Remove();
var rows = dom["table[width='750'] > tbody"].Children();
foreach (var table in dom["table[width='785'] > tbody"])
{
var rows = table.Cq().Children();
foreach (var row in rows.Skip(1))
{
@@ -164,6 +166,7 @@ namespace Jackett.Indexers
releases.Add(release);
}
}
}
catch (Exception ex)
{
OnParseError(results.Content, ex);