mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
assorted: move public props at top (#14146)
This commit is contained in:
@@ -22,21 +22,6 @@ namespace Jackett.Common.Indexers
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class DonTorrent : BaseWebIndexer
|
||||
{
|
||||
private static class DonTorrentCatType
|
||||
{
|
||||
public static string Pelicula => "pelicula";
|
||||
public static string Pelicula4K => "pelicula4k";
|
||||
public static string Serie => "serie";
|
||||
public static string SerieHD => "seriehd";
|
||||
public static string Documental => "documental";
|
||||
public static string Musica => "musica";
|
||||
public static string Variado => "variado";
|
||||
public static string Juego => "juego";
|
||||
}
|
||||
|
||||
private const string NewTorrentsUrl = "ultimos";
|
||||
private const string SearchUrl = "buscar/";
|
||||
|
||||
public override string[] AlternativeSiteLinks { get; protected set; } = {
|
||||
"https://dontorrent.cloud/",
|
||||
"https://todotorrents.net/",
|
||||
@@ -45,7 +30,6 @@ namespace Jackett.Common.Indexers
|
||||
"https://verdetorrent.com/",
|
||||
"https://naranjatorrent.com/"
|
||||
};
|
||||
|
||||
public override string[] LegacySiteLinks { get; protected set; } = {
|
||||
"https://dontorrent.me/",
|
||||
"https://dontorrent.gs/",
|
||||
@@ -66,6 +50,21 @@ namespace Jackett.Common.Indexers
|
||||
"https://dontorrent.love/"
|
||||
};
|
||||
|
||||
private static class DonTorrentCatType
|
||||
{
|
||||
public static string Pelicula => "pelicula";
|
||||
public static string Pelicula4K => "pelicula4k";
|
||||
public static string Serie => "serie";
|
||||
public static string SerieHD => "seriehd";
|
||||
public static string Documental => "documental";
|
||||
public static string Musica => "musica";
|
||||
public static string Variado => "variado";
|
||||
public static string Juego => "juego";
|
||||
}
|
||||
|
||||
private const string NewTorrentsUrl = "ultimos";
|
||||
private const string SearchUrl = "buscar/";
|
||||
|
||||
private static Dictionary<string, string> CategoriesMap => new Dictionary<string, string>
|
||||
{
|
||||
{ "/pelicula/", DonTorrentCatType.Pelicula },
|
||||
@@ -108,7 +107,7 @@ namespace Jackett.Common.Indexers
|
||||
Language = "es-ES";
|
||||
Type = "public";
|
||||
|
||||
// avoid CLoudflare too many requests limiter
|
||||
// avoid Cloudflare too many requests limiter
|
||||
webclient.requestDelay = 2.1;
|
||||
|
||||
var matchWords = new BoolConfigurationItem("Match words in title") { Value = true };
|
||||
|
@@ -19,6 +19,28 @@ namespace Jackett.Common.Indexers
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class EpubLibre : BaseWebIndexer
|
||||
{
|
||||
public override string[] AlternativeSiteLinks { get; protected set; } = {
|
||||
"https://www.epublibre.org/",
|
||||
"https://epublibre.unblockit.boo/"
|
||||
};
|
||||
public override string[] LegacySiteLinks { get; protected set; } = {
|
||||
"https://epublibre.org/",
|
||||
"https://epublibre.unblockit.how/",
|
||||
"https://epublibre.unblockit.cam/",
|
||||
"https://epublibre.unblockit.day/",
|
||||
"https://epublibre.unblockit.llc/",
|
||||
"https://epublibre.unblockit.blue/",
|
||||
"https://epublibre.unblockit.name/",
|
||||
"https://epublibre.unblockit.ist/",
|
||||
"https://epublibre.unblockit.bet/",
|
||||
"https://epublibre.unblockit.cat/",
|
||||
"https://epublibre.unblockit.nz/",
|
||||
"https://epublibre.unblockit.page/",
|
||||
"https://epublibre.unblockit.pet/",
|
||||
"https://epublibre.unblockit.ink/",
|
||||
"https://epublibre.unblockit.bio/"
|
||||
};
|
||||
|
||||
private string SearchUrl => SiteLink + "catalogo/index/{0}/nuevo/todos/sin/todos/{1}/ajax";
|
||||
private string SobrecargaUrl => SiteLink + "inicio/sobrecarga";
|
||||
private const int MaxItemsPerPage = 18;
|
||||
@@ -43,29 +65,6 @@ namespace Jackett.Common.Indexers
|
||||
{"12", "esperanto"}
|
||||
};
|
||||
|
||||
public override string[] AlternativeSiteLinks { get; protected set; } = {
|
||||
"https://www.epublibre.org/",
|
||||
"https://epublibre.unblockit.boo/"
|
||||
};
|
||||
|
||||
public override string[] LegacySiteLinks { get; protected set; } = {
|
||||
"https://epublibre.org/",
|
||||
"https://epublibre.unblockit.how/",
|
||||
"https://epublibre.unblockit.cam/",
|
||||
"https://epublibre.unblockit.day/",
|
||||
"https://epublibre.unblockit.llc/",
|
||||
"https://epublibre.unblockit.blue/",
|
||||
"https://epublibre.unblockit.name/",
|
||||
"https://epublibre.unblockit.ist/",
|
||||
"https://epublibre.unblockit.bet/",
|
||||
"https://epublibre.unblockit.cat/",
|
||||
"https://epublibre.unblockit.nz/",
|
||||
"https://epublibre.unblockit.page/",
|
||||
"https://epublibre.unblockit.pet/",
|
||||
"https://epublibre.unblockit.ink/",
|
||||
"https://epublibre.unblockit.bio/"
|
||||
};
|
||||
|
||||
public EpubLibre(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps,
|
||||
ICacheService cs)
|
||||
: base(id: "epublibre",
|
||||
|
Reference in New Issue
Block a user