1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-28 02:39:26 +00:00

myamity: fix parse errors caused by #7377

This commit is contained in:
Garfield69 2020-03-02 20:40:09 +13:00
parent a512ea37c3
commit 9826e2c2af

View file

@ -138,15 +138,15 @@ namespace Jackett.Common.Indexers
release.MinimumRatio = 1; release.MinimumRatio = 1;
release.MinimumSeedTime = 90 * 60; release.MinimumSeedTime = 90 * 60;
var qDetailsLink = row.QuerySelector("a[href^=torrents-details.php?id=]"); var qDetailsLink = row.QuerySelector("a[href^=\"torrents-details.php?id=\"]");
var qDetailsTitle = row.QuerySelector("td:has(a[href^=\"torrents-details.php?id=\"]) b"); // #7100 var qDetailsTitle = row.QuerySelector("td:has(a[href^=\"torrents-details.php?id=\"]) b"); // #7100
release.Title = qDetailsTitle.TextContent; release.Title = qDetailsTitle.TextContent;
if (!query.MatchQueryStringAND(release.Title)) if (!query.MatchQueryStringAND(release.Title))
continue; continue;
var qCatLink = row.QuerySelector("a[href^=torrents.php?cat=]"); var qCatLink = row.QuerySelector("a[href^=\"torrents.php?cat=\"]");
var qDLLink = row.QuerySelector("a[href^=download.php]"); var qDLLink = row.QuerySelector("a[href^=\"download.php\"]");
var qSeeders = row.QuerySelector("td:nth-of-type(7)"); var qSeeders = row.QuerySelector("td:nth-of-type(7)");
var qLeechers = row.QuerySelector("td:nth-of-type(8)"); var qLeechers = row.QuerySelector("td:nth-of-type(8)");
var qDateStr = row.QuerySelector("td:nth-of-type(10)"); var qDateStr = row.QuerySelector("td:nth-of-type(10)");