mirror of
https://github.com/Jackett/Jackett
synced 2024-12-23 08:17:25 +00:00
Bug fix for TorrentShack
This commit is contained in:
parent
d898725704
commit
6a3cface7a
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ namespace Jackett.Indexers
|
|||
|
||||
var sizeStr = qRow.Find(".size")[0].ChildNodes[0].NodeValue.Trim();
|
||||
var sizeParts = sizeStr.Split(' ');
|
||||
release.Size = ReleaseInfo.GetBytes(sizeParts[1], float.Parse(sizeParts[0]));
|
||||
release.Size = ReleaseInfo.GetBytes(sizeParts[1], float.Parse(sizeParts[0], NumberStyles.AllowThousands));
|
||||
release.Seeders = int.Parse(qRow.Children().ElementAt(6).InnerText.Trim(), NumberStyles.AllowThousands);
|
||||
release.Peers = int.Parse(qRow.Children().ElementAt(7).InnerText.Trim(), NumberStyles.AllowThousands) + release.Seeders;
|
||||
|
||||
|
|
Loading…
Reference in a new issue