Fixed: (Xthor) Details Linking to API and not the site

Fixes #577
This commit is contained in:
bakerboy448
2021-11-28 13:53:51 -06:00
committed by Qstick
parent dbf81a7c9e
commit 80b6821e46

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
@@ -18,7 +18,7 @@ namespace NzbDrone.Core.Indexers.Definitions.Xthor
{
_settings = settings;
_categories = categories;
_torrentDetailsUrl = _settings.BaseUrl + "details.php?id={id}";
_torrentDetailsUrl = _settings.BaseUrl.Replace("api.", "") + "details.php?id={id}";
}
public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)