|
|
@ -112,13 +112,8 @@ namespace NzbDrone.Core.Providers.Indexer
|
|
|
|
|
|
|
|
|
|
|
|
var sizeString = Regex.Match(item.Summary.Text, @"\(Size: \d*\,?\d+\.\d{1,2}\w{2}\)", RegexOptions.IgnoreCase).Value;
|
|
|
|
var sizeString = Regex.Match(item.Summary.Text, @"\(Size: \d*\,?\d+\.\d{1,2}\w{2}\)", RegexOptions.IgnoreCase).Value;
|
|
|
|
currentResult.Size = Parser.GetReportSize(sizeString);
|
|
|
|
currentResult.Size = Parser.GetReportSize(sizeString);
|
|
|
|
|
|
|
|
|
|
|
|
var dateString = Regex.Match(item.Summary.Text,
|
|
|
|
|
|
|
|
@"(?:\<li\>PostDate\:\s)(?<date>.+?(AM|PM))(?:\s[a-zA-Z]+)(?:\<\/li\>)",
|
|
|
|
|
|
|
|
RegexOptions.IgnoreCase | RegexOptions.Compiled).Groups["date"].Value;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
currentResult.Age = DateTime.Today.Subtract(DateTime.Parse(dateString)).Days;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return currentResult;
|
|
|
|
return currentResult;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|