mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: Alternative Site Links
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Prowlarr.Api.V1.Indexers
|
||||
{
|
||||
public class IndexerResource : ProviderResource<IndexerResource>
|
||||
{
|
||||
public string BaseUrl { get; set; }
|
||||
public string[] IndexerUrls { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string Language { get; set; }
|
||||
public string Encoding { get; set; }
|
||||
@@ -74,7 +74,7 @@ namespace Prowlarr.Api.V1.Indexers
|
||||
|
||||
resource.InfoLink = string.Format("https://wiki.servarr.com/prowlarr/supported-indexers#{0}", infoLinkName.ToLower().Replace(' ', '-'));
|
||||
resource.AppProfileId = definition.AppProfileId;
|
||||
resource.BaseUrl = definition.BaseUrl;
|
||||
resource.IndexerUrls = definition.IndexerUrls;
|
||||
resource.Description = definition.Description;
|
||||
resource.Language = definition.Language;
|
||||
resource.Encoding = definition.Encoding?.EncodingName ?? null;
|
||||
@@ -130,7 +130,7 @@ namespace Prowlarr.Api.V1.Indexers
|
||||
definition.AppProfileId = resource.AppProfileId;
|
||||
definition.Enable = resource.Enable;
|
||||
definition.Redirect = resource.Redirect;
|
||||
definition.BaseUrl = resource.BaseUrl;
|
||||
definition.IndexerUrls = resource.IndexerUrls;
|
||||
definition.Priority = resource.Priority;
|
||||
definition.Privacy = resource.Privacy;
|
||||
definition.Added = resource.Added;
|
||||
|
Reference in New Issue
Block a user