core: separate categories from movie-search (#9862)

* Categories and Torznab movie-search are separated
* Movie-search parameters are validated
* Fixed some bugs in Cardigann indexers
This commit is contained in:
Diego Heras
2020-10-18 19:26:22 +02:00
committed by GitHub
parent 1fcd467996
commit 9cdad3de64
94 changed files with 332 additions and 235 deletions

View File

@@ -54,7 +54,7 @@ namespace Jackett.Common.Indexers
name: "EpubLibre",
description: "Más libros, Más libres",
link: "https://epublibre.org/",
caps: new TorznabCapabilities(TorznabCatType.BooksEbook),
caps: new TorznabCapabilities(),
configService: configService,
client: wc,
logger: l,
@@ -64,6 +64,8 @@ namespace Jackett.Common.Indexers
Encoding = Encoding.UTF8;
Language = "es-es";
Type = "public";
AddCategoryMapping(1, TorznabCatType.BooksEbook);
}
public override async Task<IndexerConfigurationStatus> ApplyConfiguration(JToken configJson)