mirror of https://github.com/Jackett/Jackett
parent
131ea61a57
commit
0c1bc1ab3b
|
@ -229,14 +229,15 @@ namespace Jackett.Common.Indexers
|
||||||
var imdbId = ParseUtil.GetLongFromString(infoLink?.GetAttribute("href"));
|
var imdbId = ParseUtil.GetLongFromString(infoLink?.GetAttribute("href"));
|
||||||
var desc = row.QuerySelector("span")?.GetAttribute("title") + " " +
|
var desc = row.QuerySelector("span")?.GetAttribute("title") + " " +
|
||||||
infoLink?.TextContent;
|
infoLink?.TextContent;
|
||||||
var downloadLink = SiteLink + torrentTxt.GetAttribute("href");
|
var torrentLink = SiteLink + torrentTxt.GetAttribute("href");
|
||||||
var downloadId = ParseUtil.GetArgumentFromQueryString(downloadLink, "id");
|
var downloadId = ParseUtil.GetArgumentFromQueryString(torrentLink, "id");
|
||||||
|
|
||||||
//Build site links
|
//Build site links
|
||||||
var baseLink = SiteLink + "torrents.php?action=download&id=" + downloadId;
|
var baseLink = SiteLink + "torrents.php?action=details&id=" + downloadId;
|
||||||
var commentsUri = new Uri(baseLink);
|
var downloadLink = SiteLink + "torrents.php?action=download&id=" + downloadId;
|
||||||
var guidUri = new Uri(baseLink + "#comments");
|
var commentsUri = new Uri(baseLink + "#comments");
|
||||||
var linkUri = new Uri(QueryHelpers.AddQueryString(baseLink, "key", key));
|
var guidUri = new Uri(baseLink);
|
||||||
|
var linkUri = new Uri(QueryHelpers.AddQueryString(downloadLink, "key", key));
|
||||||
|
|
||||||
var seeders = ParseUtil.CoerceInt(row.QuerySelector(".box_s2 a").TextContent);
|
var seeders = ParseUtil.CoerceInt(row.QuerySelector(".box_s2 a").TextContent);
|
||||||
var leechers = ParseUtil.CoerceInt(row.QuerySelector(".box_l2 a").TextContent);
|
var leechers = ParseUtil.CoerceInt(row.QuerySelector(".box_l2 a").TextContent);
|
||||||
|
|
Loading…
Reference in New Issue