mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
@@ -49,7 +49,7 @@ namespace Jackett.Common.Indexers
|
|||||||
|
|
||||||
private new ConfigurationDataCookie configData => (ConfigurationDataCookie)base.configData;
|
private new ConfigurationDataCookie configData => (ConfigurationDataCookie)base.configData;
|
||||||
|
|
||||||
public IPTorrents(IIndexerConfigurationService configService, Utils.Clients.WebClient wc, Logger l, IProtectionService ps)
|
public IPTorrents(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
|
||||||
: base(id: "iptorrents",
|
: base(id: "iptorrents",
|
||||||
name: "IPTorrents",
|
name: "IPTorrents",
|
||||||
description: "Always a step ahead.",
|
description: "Always a step ahead.",
|
||||||
@@ -224,9 +224,8 @@ namespace Jackett.Common.Indexers
|
|||||||
// Torrents - Category column == Icons
|
// Torrents - Category column == Icons
|
||||||
var cat = MapTrackerCatToNewznab(catIcon.GetAttribute("href").Substring(1));
|
var cat = MapTrackerCatToNewznab(catIcon.GetAttribute("href").Substring(1));
|
||||||
|
|
||||||
var grabs = ParseUtil.CoerceInt(row.QuerySelector("td:nth-last-child(3)").TextContent);
|
|
||||||
var size = ReleaseInfo.GetBytes(row.Children[5].TextContent);
|
var size = ReleaseInfo.GetBytes(row.Children[5].TextContent);
|
||||||
var files = ParseUtil.CoerceInt(row.Children[6].TextContent);
|
var grabs = ParseUtil.CoerceInt(row.Children[6].TextContent);
|
||||||
var seeders = ParseUtil.CoerceInt(row.QuerySelector(".t_seeders").TextContent.Trim());
|
var seeders = ParseUtil.CoerceInt(row.QuerySelector(".t_seeders").TextContent.Trim());
|
||||||
var leechers = ParseUtil.CoerceInt(row.QuerySelector(".t_leechers").TextContent.Trim());
|
var leechers = ParseUtil.CoerceInt(row.QuerySelector(".t_leechers").TextContent.Trim());
|
||||||
var dlVolumeFactor = row.QuerySelector("span.t_tag_free_leech") != null ? 0 : 1;
|
var dlVolumeFactor = row.QuerySelector("span.t_tag_free_leech") != null ? 0 : 1;
|
||||||
@@ -241,7 +240,6 @@ namespace Jackett.Common.Indexers
|
|||||||
Category = cat,
|
Category = cat,
|
||||||
Description = description,
|
Description = description,
|
||||||
Size = size,
|
Size = size,
|
||||||
Files = files,
|
|
||||||
Grabs = grabs,
|
Grabs = grabs,
|
||||||
Seeders = seeders,
|
Seeders = seeders,
|
||||||
Peers = seeders + leechers,
|
Peers = seeders + leechers,
|
||||||
|
Reference in New Issue
Block a user