mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-23 22:45:06 -04:00
New: Improve size and number parsing
This commit is contained in:
@@ -15,6 +15,7 @@ using NzbDrone.Core.Configuration;
|
||||
using NzbDrone.Core.Indexers.Exceptions;
|
||||
using NzbDrone.Core.IndexerSearch.Definitions;
|
||||
using NzbDrone.Core.Messaging.Events;
|
||||
using NzbDrone.Core.Parser;
|
||||
using NzbDrone.Core.Parser.Model;
|
||||
using NzbDrone.Core.Validation;
|
||||
|
||||
@@ -342,7 +343,7 @@ namespace NzbDrone.Core.Indexers.Definitions
|
||||
release.MinimumSeedTime = 172800; // 48 hours
|
||||
|
||||
var size = row.QuerySelector(".size").TextContent;
|
||||
release.Size = ReleaseInfo.GetBytes(size);
|
||||
release.Size = ParseUtil.GetBytes(size);
|
||||
|
||||
//22 Jul 15
|
||||
var dateStr = row.QuerySelector(".added").TextContent.Replace("'", string.Empty);
|
||||
|
||||
Reference in New Issue
Block a user