anilibria: add API docs comment and fix my typo

This commit is contained in:
Garfield69
2025-06-30 05:41:12 +12:00
parent 5030d25026
commit 83e3b3e1a1

View File

@@ -25,6 +25,7 @@ namespace Jackett.Common.Indexers.Definitions
{ {
"https://www.anilibria.tv/", "https://www.anilibria.tv/",
}; };
// https://anilibria.top/api/docs/v1
private string ApiBase => $"{SiteLink}api/v1/"; private string ApiBase => $"{SiteLink}api/v1/";
public override string Language => "ru-RU"; public override string Language => "ru-RU";
public override string Type => "public"; public override string Type => "public";
@@ -36,7 +37,7 @@ namespace Jackett.Common.Indexers.Definitions
configService: configService, client: wc, logger: l, p: ps, cacheService: cs, configService: configService, client: wc, logger: l, p: ps, cacheService: cs,
configData: new ConfigurationDataAnilibria()) configData: new ConfigurationDataAnilibria())
{ {
// requestDelay to try to avoid DDoS-Guard and avoind having to wait for Flaresolverr to resolve challenge // requestDelay to try to avoid DDoS-Guard and having to wait for Flaresolverr to resolve challenges
webclient.requestDelay = 2.1; webclient.requestDelay = 2.1;
} }