From 80b6821e46c31bbc3295670df9f89a6fab9815c7 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Sun, 28 Nov 2021 13:53:51 -0600 Subject: [PATCH] Fixed: (Xthor) Details Linking to API and not the site Fixes #577 --- src/NzbDrone.Core/Indexers/Definitions/Xthor/XthorParser.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Indexers/Definitions/Xthor/XthorParser.cs b/src/NzbDrone.Core/Indexers/Definitions/Xthor/XthorParser.cs index 66dc4af51..07702e0b3 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/Xthor/XthorParser.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/Xthor/XthorParser.cs @@ -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 ParseResponse(IndexerResponse indexerResponse)