mirror of
https://github.com/Jackett/Jackett
synced 2025-02-24 15:21:06 +00:00
parent
41fb5e89b4
commit
f6272032a6
1 changed files with 4 additions and 3 deletions
|
@ -228,8 +228,9 @@ namespace Jackett.Indexers
|
|||
torrentId = torrentId.Split('#')[0];
|
||||
|
||||
var size = ReleaseInfo.GetBytes(torrentData[0].TextContent);
|
||||
var grabs = int.Parse(torrentData[1].TextContent);
|
||||
var seeders = int.Parse(torrentData[2].TextContent);
|
||||
var grabs = int.Parse(torrentData[1].TextContent, NumberStyles.AllowThousands, CultureInfo.InvariantCulture);
|
||||
var seeders = int.Parse(torrentData[2].TextContent, NumberStyles.AllowThousands, CultureInfo.InvariantCulture);
|
||||
var leechers = int.Parse(torrentData[3].TextContent, NumberStyles.AllowThousands, CultureInfo.InvariantCulture);
|
||||
var guid = new Uri(GuidUrl + torrentId);
|
||||
|
||||
// Build releaseinfo
|
||||
|
@ -240,7 +241,7 @@ namespace Jackett.Indexers
|
|||
Link = new Uri(DownloadUrl + torrentId),
|
||||
PublishDate = publishDate,
|
||||
Seeders = seeders,
|
||||
Peers = seeders,
|
||||
Peers = seeders + leechers,
|
||||
Files = files,
|
||||
Size = size,
|
||||
Grabs = grabs,
|
||||
|
|
Loading…
Reference in a new issue