Fixed: Omgwtfnbs parsing being too greedy.

Fixes #608
pull/2498/head
Leonardo Galli 6 years ago
parent d67d89f54a
commit 67848ebff5

@ -29,7 +29,7 @@ namespace NzbDrone.Core.Indexers.Omgwtfnzbs
protected override string GetInfoUrl(XElement item)
{
//Todo: Me thinks I need to parse details to get this...
var match = Regex.Match(item.Description(), @"(?:\<b\>View NZB\:\<\/b\>\s\<a\shref\=\"")(?<URL>.+)(?:\"")",
var match = Regex.Match(item.Description(), @"(?:\<b\>View NZB\:\<\/b\>\s\<a\shref\=\"")(?<URL>.+?)(?:\"")",
RegexOptions.IgnoreCase | RegexOptions.Compiled);
if (match.Success)

Loading…
Cancel
Save