mirror of https://github.com/Jackett/Jackett
assorted: more follow up on #12274 but for C#
This commit is contained in:
parent
da340ed952
commit
1892cab418
|
@ -73,7 +73,7 @@ namespace Jackett.Common.Indexers
|
|||
)
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "fr-fr";
|
||||
Language = "fr-FR";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.TV, "Series");
|
||||
|
|
|
@ -121,7 +121,7 @@ namespace Jackett.Common.Indexers.Abstract
|
|||
without this configuration the torrent download does not work.<br/>You can find the PID in 'My profile'."))
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ namespace Jackett.Common.Indexers
|
|||
supportsFreeleechTokens: true,
|
||||
imdbInTags: true)
|
||||
{
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.TVSD, "TvSD");
|
||||
|
|
|
@ -56,7 +56,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataAniDub())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "ru-ru";
|
||||
Language = "ru-RU";
|
||||
Type = "semi-private";
|
||||
|
||||
webclient.AddTrustedCertificate(new Uri(SiteLink).Host, "392E98CE1447B59CA62BAB8824CA1EEFC2ED3D37");
|
||||
|
|
|
@ -41,7 +41,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataAniLibria())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "ru-ru";
|
||||
Language = "ru-RU";
|
||||
Type = "public";
|
||||
|
||||
// Configure the category mappings
|
||||
|
|
|
@ -44,7 +44,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationData())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "public";
|
||||
|
||||
// Configure the category mappings
|
||||
|
|
|
@ -65,7 +65,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataAnimeBytes("Note: Go to AnimeBytes site and open your account settings. Go to 'Account' tab, move cursor over black part near 'Passkey' and copy its value. Your username is case sensitive."))
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
webclient.EmulateBrowser = false; // Animebytes doesn't like fake user agents (issue #1535)
|
||||
|
|
|
@ -57,7 +57,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataBasicLogin())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.MoviesSD, "Anime Movie");
|
||||
|
|
|
@ -48,7 +48,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationData())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "ru-ru";
|
||||
Language = "ru-RU";
|
||||
Type = "public";
|
||||
|
||||
// Configure the category mappings
|
||||
|
|
|
@ -55,7 +55,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataBasicLogin())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping("1", TorznabCatType.Movies, "Film/Feature");
|
||||
|
|
|
@ -66,7 +66,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataBasicLogin())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.Audio);
|
||||
|
|
|
@ -93,7 +93,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataBasicLoginWithRSSAndDisplay())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "pt-br";
|
||||
Language = "pt-BR";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(14, TorznabCatType.TVAnime, "Anime");
|
||||
|
|
|
@ -65,7 +65,7 @@ namespace Jackett.Common.Indexers
|
|||
"Show-Adult-Content option in your BakaBT account Settings."))
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.TVAnime, "Anime Series");
|
||||
|
|
|
@ -53,7 +53,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataAPIKeyAndRSSKey())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping("Movies", TorznabCatType.Movies);
|
||||
|
|
|
@ -51,7 +51,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataAPIKey())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping("SD", TorznabCatType.TVSD, "SD");
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace Jackett.Common.Indexers
|
|||
cs: cs,
|
||||
supportsFreeleechTokens: true)
|
||||
{
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.PCMac, "MacOS Apps");
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace Jackett.Common.Indexers
|
|||
cs: cs,
|
||||
supportsFreeleechTokens: true)
|
||||
{
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.PCISO, "Full Applications");
|
||||
|
|
|
@ -52,7 +52,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationData())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "es-es";
|
||||
Language = "es-ES";
|
||||
Type = "public";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.MoviesHD);
|
||||
|
|
|
@ -59,7 +59,7 @@ namespace Jackett.Common.Indexers
|
|||
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping("1", TorznabCatType.Movies, "Movies");
|
||||
|
|
|
@ -48,7 +48,7 @@ namespace Jackett.Common.Indexers
|
|||
has2Fa: true
|
||||
)
|
||||
{
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.Movies, "Movies");
|
||||
|
|
|
@ -62,7 +62,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataCookie())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.MoviesDVD, "Movies/DVDR");
|
||||
|
|
|
@ -79,7 +79,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationData())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "es-es";
|
||||
Language = "es-ES";
|
||||
Type = "public";
|
||||
|
||||
var matchWords = new BoolConfigurationItem("Match words in title") { Value = true };
|
||||
|
|
|
@ -84,7 +84,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationData())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "es-es";
|
||||
Language = "es-ES";
|
||||
Type = "public";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.BooksEBook);
|
||||
|
|
|
@ -49,7 +49,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationData())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "public";
|
||||
|
||||
// Add note that download stats are not available
|
||||
|
|
|
@ -37,7 +37,7 @@ namespace Jackett.Common.Indexers.Feeds
|
|||
configData: new ConfigurationData())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-en";
|
||||
Language = "en-US";
|
||||
Type = "public";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.TVAnime);
|
||||
|
|
|
@ -56,7 +56,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataBasicLogin("For best results, change the 'Torrents per page' setting to 100 in your profile."))
|
||||
{
|
||||
Encoding = Encoding.GetEncoding("iso-8859-1");
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(44, TorznabCatType.TVAnime, "Anime");
|
||||
|
|
|
@ -63,7 +63,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataCookie())
|
||||
{
|
||||
Encoding = Encoding.GetEncoding("windows-1255");
|
||||
Language = "he-il";
|
||||
Language = "he-IL";
|
||||
Type = "private";
|
||||
|
||||
// סרטים
|
||||
|
|
|
@ -45,7 +45,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataCookie())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
configData.AddDynamic("searchgroupnames", new BoolConfigurationItem("Search Group Names Only") { Value = false });
|
||||
|
|
|
@ -62,7 +62,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataBasicLogin())
|
||||
{
|
||||
Encoding = Encoding.GetEncoding("iso-8859-1");
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.TVAnime, "Anime");
|
||||
|
|
|
@ -50,7 +50,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataHDBitsApi())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(6, TorznabCatType.Audio, "Audio Track");
|
||||
|
|
|
@ -55,7 +55,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataBasicLogin())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
configData.AddDynamic("flaresolverr", new DisplayInfoConfigurationItem("FlareSolverr", "This site may use Cloudflare DDoS Protection, therefore Jackett requires <a href=\"https://github.com/Jackett/Jackett#configuring-flaresolverr\" target=\"_blank\">FlareSolver</a> to access it."));
|
||||
|
|
|
@ -74,7 +74,7 @@ namespace Jackett.Common.Indexers
|
|||
"For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."))
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
// Movie
|
||||
|
|
|
@ -56,7 +56,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataCookie("Easily find the cookie under the 'Cookie' header in the index.php GET request. HeBits Cookie usually look like: hebits=hebits; uid=12345; pass=[...]"))
|
||||
{
|
||||
Encoding = Encoding.GetEncoding("UTF-8");
|
||||
Language = "he-il";
|
||||
Language = "he-IL";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.Movies, "סרטים (Movies)");
|
||||
|
|
|
@ -127,7 +127,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataCaptchaLogin())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "ru-ru";
|
||||
Language = "ru-RU";
|
||||
Type = "semi-private";
|
||||
|
||||
webclient.AddTrustedCertificate(new Uri(SiteLink).Host, "25234600906DF82792DE9F4AA75A5AED2F226577"); // for *.run expired 07/Jun/21
|
||||
|
|
|
@ -85,7 +85,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationData())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "es-es";
|
||||
Language = "es-ES";
|
||||
Type = "public";
|
||||
|
||||
var matchWords = new BoolConfigurationItem("Match words in title") { Value = true };
|
||||
|
|
|
@ -148,7 +148,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationData())
|
||||
{
|
||||
Encoding = Encoding.GetEncoding("windows-1252");
|
||||
Language = "es-es";
|
||||
Language = "es-ES";
|
||||
Type = "public";
|
||||
|
||||
var voItem = new BoolConfigurationItem("Include original versions in search results") { Value = false };
|
||||
|
|
|
@ -65,7 +65,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataNorbits())
|
||||
{
|
||||
Encoding = Encoding.GetEncoding("iso-8859-1");
|
||||
Language = "nb-no";
|
||||
Language = "nb-NO";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping("main_cat[]=1&sub2_cat[]=49", TorznabCatType.MoviesUHD, "Filmer - UHD-2160p");
|
||||
|
|
|
@ -48,7 +48,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataPornolab())
|
||||
{
|
||||
Encoding = Encoding.GetEncoding("windows-1251");
|
||||
Language = "ru-ru";
|
||||
Language = "ru-RU";
|
||||
Type = "semi-private";
|
||||
|
||||
AddCategoryMapping(1768, TorznabCatType.XXX, "Эротические фильмы / Erotic Movies");
|
||||
|
|
|
@ -71,7 +71,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataRutracker())
|
||||
{
|
||||
Encoding = Encoding.GetEncoding("windows-1251");
|
||||
Language = "ru-ru";
|
||||
Language = "ru-RU";
|
||||
Type = "semi-private";
|
||||
// note: when refreshing the categories use the tracker.php page and NOT the search.php page!
|
||||
AddCategoryMapping(22, TorznabCatType.Movies, "Наше кино");
|
||||
|
|
|
@ -67,7 +67,7 @@ namespace Jackett.Common.Indexers
|
|||
)
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "fr-fr";
|
||||
Language = "fr-FR";
|
||||
Type = "semi-private";
|
||||
|
||||
// requestDelay for API Limit (1 request per 2 seconds)
|
||||
|
|
|
@ -41,7 +41,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationData())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "ru-ru";
|
||||
Language = "ru-RU";
|
||||
Type = "public";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.TVAnime, "Anime");
|
||||
|
|
|
@ -64,7 +64,7 @@ namespace Jackett.Common.Indexers
|
|||
configData: new ConfigurationDataToloka())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "uk-ua";
|
||||
Language = "uk-UA";
|
||||
Type = "semi-private";
|
||||
|
||||
AddCategoryMapping(117, TorznabCatType.Movies, "Українське кіно");
|
||||
|
|
|
@ -77,7 +77,7 @@ namespace Jackett.Common.Indexers
|
|||
)
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "fr-fr";
|
||||
Language = "fr-FR";
|
||||
Type = "private";
|
||||
|
||||
// Movies / Films
|
||||
|
|
|
@ -58,7 +58,7 @@ namespace Jackett.Common.Indexers
|
|||
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "es-es";
|
||||
Language = "es-ES";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping("cat[]=1&subcat[]=1", TorznabCatType.MoviesDVD, "Películas/DVD");
|
||||
|
|
Loading…
Reference in New Issue