Fixed: (RetroFlix) Urls built with double slash

Fixes #1188
Closes #1192
pull/946/head
Qstick 2 years ago
parent 2805c4f18b
commit 9e37f69224

@ -9,7 +9,7 @@ namespace NzbDrone.Core.Indexers.Definitions
{
public override string Name => "SpeedApp.io";
public override string[] IndexerUrls => new string[] { "https://speedapp.io" };
public override string[] IndexerUrls => new string[] { "https://speedapp.io/" };
public override string Description => "SpeedApp is a ROMANIAN Private Torrent Tracker for MOVIES / TV / GENERAL";

@ -28,9 +28,7 @@ namespace NzbDrone.Core.Indexers.Definitions
{
public abstract class SpeedAppBase : TorrentIndexerBase<SpeedAppSettings>
{
private string ApiUrl => $"{Settings.BaseUrl}/api";
private string LoginUrl => $"{ApiUrl}/login";
private string LoginUrl => Settings.BaseUrl + "api/login";
public override Encoding Encoding => Encoding.UTF8;
@ -262,7 +260,7 @@ namespace NzbDrone.Core.Indexers.Definitions
}
}
var searchUrl = Settings.BaseUrl + "/api/torrent?" + qc.GetQueryString(duplicateKeysIfMulti: true);
var searchUrl = Settings.BaseUrl + "api/torrent?" + qc.GetQueryString(duplicateKeysIfMulti: true);
var request = new IndexerRequest(searchUrl, HttpAccept.Json);

Loading…
Cancel
Save