1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Fixed: Omgwtfnbs parsing being too greedy.

Fixes #608
This commit is contained in:
Leonardo Galli 2018-02-19 08:37:47 +01:00
parent d67d89f54a
commit 67848ebff5

View File

@ -29,7 +29,7 @@ protected override bool PreProcess(IndexerResponse indexerResponse)
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)