mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 13:57:11 -04:00
Fixed: (RetroFlix) Urls built with double slash
Fixes #1188 Closes #1192
This commit is contained in:
parent
2805c4f18b
commit
9e37f69224
2 changed files with 3 additions and 5 deletions
|
@ -9,7 +9,7 @@ namespace NzbDrone.Core.Indexers.Definitions
|
||||||
{
|
{
|
||||||
public override string Name => "SpeedApp.io";
|
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";
|
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>
|
public abstract class SpeedAppBase : TorrentIndexerBase<SpeedAppSettings>
|
||||||
{
|
{
|
||||||
private string ApiUrl => $"{Settings.BaseUrl}/api";
|
private string LoginUrl => Settings.BaseUrl + "api/login";
|
||||||
|
|
||||||
private string LoginUrl => $"{ApiUrl}/login";
|
|
||||||
|
|
||||||
public override Encoding Encoding => Encoding.UTF8;
|
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);
|
var request = new IndexerRequest(searchUrl, HttpAccept.Json);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue