Skip to content
Permalink
Browse files

iptorrents: add files. resolves #8034 (#8737)

  • Loading branch information
ngosang committed May 21, 2020
1 parent 80b8c9f commit 8773df2c01c122c883b6a6c2c4f38d240a38385d
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/Jackett.Common/Indexers/IPTorrents.cs
@@ -225,6 +225,7 @@ protected override async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuer

var grabs = ParseUtil.CoerceInt(row.QuerySelector("td:nth-last-child(3)").TextContent);
var size = ReleaseInfo.GetBytes(row.Children[5].TextContent);
var files = ParseUtil.CoerceInt(row.Children[6].TextContent);
var seeders = ParseUtil.CoerceInt(row.QuerySelector(".t_seeders").TextContent.Trim());
var leechers = ParseUtil.CoerceInt(row.QuerySelector(".t_leechers").TextContent.Trim());
var dlVolumeFactor = row.QuerySelector("span.t_tag_free_leech") != null ? 0 : 1;
@@ -239,6 +240,7 @@ protected override async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuer
Category = cat,
Description = description,
Size = size,
Files = files,
Grabs = grabs,
Seeders = seeders,
Peers = seeders + leechers,

0 comments on commit 8773df2

Please sign in to comment.
You can’t perform that action at this time.