assorted: more follow up on #12274 but for C#

This commit is contained in:
Garfield69 2021-09-08 13:14:00 +12:00
parent da340ed952
commit 1892cab418
44 changed files with 44 additions and 44 deletions

View File

@ -73,7 +73,7 @@ namespace Jackett.Common.Indexers
) )
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "fr-fr"; Language = "fr-FR";
Type = "private"; Type = "private";
AddCategoryMapping(1, TorznabCatType.TV, "Series"); AddCategoryMapping(1, TorznabCatType.TV, "Series");

View File

@ -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'.")) without this configuration the torrent download does not work.<br/>You can find the PID in 'My profile'."))
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
} }

View File

@ -37,7 +37,7 @@ namespace Jackett.Common.Indexers
supportsFreeleechTokens: true, supportsFreeleechTokens: true,
imdbInTags: true) imdbInTags: true)
{ {
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
AddCategoryMapping(1, TorznabCatType.TVSD, "TvSD"); AddCategoryMapping(1, TorznabCatType.TVSD, "TvSD");

View File

@ -56,7 +56,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataAniDub()) configData: new ConfigurationDataAniDub())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "ru-ru"; Language = "ru-RU";
Type = "semi-private"; Type = "semi-private";
webclient.AddTrustedCertificate(new Uri(SiteLink).Host, "392E98CE1447B59CA62BAB8824CA1EEFC2ED3D37"); webclient.AddTrustedCertificate(new Uri(SiteLink).Host, "392E98CE1447B59CA62BAB8824CA1EEFC2ED3D37");

View File

@ -41,7 +41,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataAniLibria()) configData: new ConfigurationDataAniLibria())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "ru-ru"; Language = "ru-RU";
Type = "public"; Type = "public";
// Configure the category mappings // Configure the category mappings

View File

@ -44,7 +44,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationData()) configData: new ConfigurationData())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "public"; Type = "public";
// Configure the category mappings // Configure the category mappings

View File

@ -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.")) 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; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
webclient.EmulateBrowser = false; // Animebytes doesn't like fake user agents (issue #1535) webclient.EmulateBrowser = false; // Animebytes doesn't like fake user agents (issue #1535)

View File

@ -57,7 +57,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataBasicLogin()) configData: new ConfigurationDataBasicLogin())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
AddCategoryMapping(1, TorznabCatType.MoviesSD, "Anime Movie"); AddCategoryMapping(1, TorznabCatType.MoviesSD, "Anime Movie");

View File

@ -48,7 +48,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationData()) configData: new ConfigurationData())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "ru-ru"; Language = "ru-RU";
Type = "public"; Type = "public";
// Configure the category mappings // Configure the category mappings

View File

@ -55,7 +55,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataBasicLogin()) configData: new ConfigurationDataBasicLogin())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
AddCategoryMapping("1", TorznabCatType.Movies, "Film/Feature"); AddCategoryMapping("1", TorznabCatType.Movies, "Film/Feature");

View File

@ -66,7 +66,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataBasicLogin()) configData: new ConfigurationDataBasicLogin())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
AddCategoryMapping(1, TorznabCatType.Audio); AddCategoryMapping(1, TorznabCatType.Audio);

View File

@ -93,7 +93,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataBasicLoginWithRSSAndDisplay()) configData: new ConfigurationDataBasicLoginWithRSSAndDisplay())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "pt-br"; Language = "pt-BR";
Type = "private"; Type = "private";
AddCategoryMapping(14, TorznabCatType.TVAnime, "Anime"); AddCategoryMapping(14, TorznabCatType.TVAnime, "Anime");

View File

@ -65,7 +65,7 @@ namespace Jackett.Common.Indexers
"Show-Adult-Content option in your BakaBT account Settings.")) "Show-Adult-Content option in your BakaBT account Settings."))
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
AddCategoryMapping(1, TorznabCatType.TVAnime, "Anime Series"); AddCategoryMapping(1, TorznabCatType.TVAnime, "Anime Series");

View File

@ -53,7 +53,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataAPIKeyAndRSSKey()) configData: new ConfigurationDataAPIKeyAndRSSKey())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
AddCategoryMapping("Movies", TorznabCatType.Movies); AddCategoryMapping("Movies", TorznabCatType.Movies);

View File

@ -51,7 +51,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataAPIKey()) configData: new ConfigurationDataAPIKey())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
AddCategoryMapping("SD", TorznabCatType.TVSD, "SD"); AddCategoryMapping("SD", TorznabCatType.TVSD, "SD");

View File

@ -24,7 +24,7 @@ namespace Jackett.Common.Indexers
cs: cs, cs: cs,
supportsFreeleechTokens: true) supportsFreeleechTokens: true)
{ {
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
AddCategoryMapping(1, TorznabCatType.PCMac, "MacOS Apps"); AddCategoryMapping(1, TorznabCatType.PCMac, "MacOS Apps");

View File

@ -28,7 +28,7 @@ namespace Jackett.Common.Indexers
cs: cs, cs: cs,
supportsFreeleechTokens: true) supportsFreeleechTokens: true)
{ {
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
AddCategoryMapping(1, TorznabCatType.PCISO, "Full Applications"); AddCategoryMapping(1, TorznabCatType.PCISO, "Full Applications");

View File

@ -52,7 +52,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationData()) configData: new ConfigurationData())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "es-es"; Language = "es-ES";
Type = "public"; Type = "public";
AddCategoryMapping(1, TorznabCatType.MoviesHD); AddCategoryMapping(1, TorznabCatType.MoviesHD);

View File

@ -59,7 +59,7 @@ namespace Jackett.Common.Indexers
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
AddCategoryMapping("1", TorznabCatType.Movies, "Movies"); AddCategoryMapping("1", TorznabCatType.Movies, "Movies");

View File

@ -48,7 +48,7 @@ namespace Jackett.Common.Indexers
has2Fa: true has2Fa: true
) )
{ {
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
AddCategoryMapping(1, TorznabCatType.Movies, "Movies"); AddCategoryMapping(1, TorznabCatType.Movies, "Movies");

View File

@ -62,7 +62,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataCookie()) configData: new ConfigurationDataCookie())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
AddCategoryMapping(1, TorznabCatType.MoviesDVD, "Movies/DVDR"); AddCategoryMapping(1, TorznabCatType.MoviesDVD, "Movies/DVDR");

View File

@ -79,7 +79,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationData()) configData: new ConfigurationData())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "es-es"; Language = "es-ES";
Type = "public"; Type = "public";
var matchWords = new BoolConfigurationItem("Match words in title") { Value = true }; var matchWords = new BoolConfigurationItem("Match words in title") { Value = true };

View File

@ -84,7 +84,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationData()) configData: new ConfigurationData())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "es-es"; Language = "es-ES";
Type = "public"; Type = "public";
AddCategoryMapping(1, TorznabCatType.BooksEBook); AddCategoryMapping(1, TorznabCatType.BooksEBook);

View File

@ -49,7 +49,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationData()) configData: new ConfigurationData())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "public"; Type = "public";
// Add note that download stats are not available // Add note that download stats are not available

View File

@ -37,7 +37,7 @@ namespace Jackett.Common.Indexers.Feeds
configData: new ConfigurationData()) configData: new ConfigurationData())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-en"; Language = "en-US";
Type = "public"; Type = "public";
AddCategoryMapping(1, TorznabCatType.TVAnime); AddCategoryMapping(1, TorznabCatType.TVAnime);

View File

@ -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.")) configData: new ConfigurationDataBasicLogin("For best results, change the 'Torrents per page' setting to 100 in your profile."))
{ {
Encoding = Encoding.GetEncoding("iso-8859-1"); Encoding = Encoding.GetEncoding("iso-8859-1");
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
AddCategoryMapping(44, TorznabCatType.TVAnime, "Anime"); AddCategoryMapping(44, TorznabCatType.TVAnime, "Anime");

View File

@ -63,7 +63,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataCookie()) configData: new ConfigurationDataCookie())
{ {
Encoding = Encoding.GetEncoding("windows-1255"); Encoding = Encoding.GetEncoding("windows-1255");
Language = "he-il"; Language = "he-IL";
Type = "private"; Type = "private";
// סרטים // סרטים

View File

@ -45,7 +45,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataCookie()) configData: new ConfigurationDataCookie())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
configData.AddDynamic("searchgroupnames", new BoolConfigurationItem("Search Group Names Only") { Value = false }); configData.AddDynamic("searchgroupnames", new BoolConfigurationItem("Search Group Names Only") { Value = false });

View File

@ -62,7 +62,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataBasicLogin()) configData: new ConfigurationDataBasicLogin())
{ {
Encoding = Encoding.GetEncoding("iso-8859-1"); Encoding = Encoding.GetEncoding("iso-8859-1");
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
AddCategoryMapping(1, TorznabCatType.TVAnime, "Anime"); AddCategoryMapping(1, TorznabCatType.TVAnime, "Anime");

View File

@ -50,7 +50,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataHDBitsApi()) configData: new ConfigurationDataHDBitsApi())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
AddCategoryMapping(6, TorznabCatType.Audio, "Audio Track"); AddCategoryMapping(6, TorznabCatType.Audio, "Audio Track");

View File

@ -55,7 +55,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataBasicLogin()) configData: new ConfigurationDataBasicLogin())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "private"; 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.")); 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."));

View File

@ -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.")) "For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile."))
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "en-us"; Language = "en-US";
Type = "private"; Type = "private";
// Movie // Movie

View File

@ -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=[...]")) 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"); Encoding = Encoding.GetEncoding("UTF-8");
Language = "he-il"; Language = "he-IL";
Type = "private"; Type = "private";
AddCategoryMapping(1, TorznabCatType.Movies, "סרטים (Movies)"); AddCategoryMapping(1, TorznabCatType.Movies, "סרטים (Movies)");

View File

@ -127,7 +127,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataCaptchaLogin()) configData: new ConfigurationDataCaptchaLogin())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "ru-ru"; Language = "ru-RU";
Type = "semi-private"; Type = "semi-private";
webclient.AddTrustedCertificate(new Uri(SiteLink).Host, "25234600906DF82792DE9F4AA75A5AED2F226577"); // for *.run expired 07/Jun/21 webclient.AddTrustedCertificate(new Uri(SiteLink).Host, "25234600906DF82792DE9F4AA75A5AED2F226577"); // for *.run expired 07/Jun/21

View File

@ -85,7 +85,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationData()) configData: new ConfigurationData())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "es-es"; Language = "es-ES";
Type = "public"; Type = "public";
var matchWords = new BoolConfigurationItem("Match words in title") { Value = true }; var matchWords = new BoolConfigurationItem("Match words in title") { Value = true };

View File

@ -148,7 +148,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationData()) configData: new ConfigurationData())
{ {
Encoding = Encoding.GetEncoding("windows-1252"); Encoding = Encoding.GetEncoding("windows-1252");
Language = "es-es"; Language = "es-ES";
Type = "public"; Type = "public";
var voItem = new BoolConfigurationItem("Include original versions in search results") { Value = false }; var voItem = new BoolConfigurationItem("Include original versions in search results") { Value = false };

View File

@ -65,7 +65,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataNorbits()) configData: new ConfigurationDataNorbits())
{ {
Encoding = Encoding.GetEncoding("iso-8859-1"); Encoding = Encoding.GetEncoding("iso-8859-1");
Language = "nb-no"; Language = "nb-NO";
Type = "private"; Type = "private";
AddCategoryMapping("main_cat[]=1&sub2_cat[]=49", TorznabCatType.MoviesUHD, "Filmer - UHD-2160p"); AddCategoryMapping("main_cat[]=1&sub2_cat[]=49", TorznabCatType.MoviesUHD, "Filmer - UHD-2160p");

View File

@ -48,7 +48,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataPornolab()) configData: new ConfigurationDataPornolab())
{ {
Encoding = Encoding.GetEncoding("windows-1251"); Encoding = Encoding.GetEncoding("windows-1251");
Language = "ru-ru"; Language = "ru-RU";
Type = "semi-private"; Type = "semi-private";
AddCategoryMapping(1768, TorznabCatType.XXX, "Эротические фильмы / Erotic Movies"); AddCategoryMapping(1768, TorznabCatType.XXX, "Эротические фильмы / Erotic Movies");

View File

@ -71,7 +71,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataRutracker()) configData: new ConfigurationDataRutracker())
{ {
Encoding = Encoding.GetEncoding("windows-1251"); Encoding = Encoding.GetEncoding("windows-1251");
Language = "ru-ru"; Language = "ru-RU";
Type = "semi-private"; Type = "semi-private";
// note: when refreshing the categories use the tracker.php page and NOT the search.php page! // note: when refreshing the categories use the tracker.php page and NOT the search.php page!
AddCategoryMapping(22, TorznabCatType.Movies, "Наше кино"); AddCategoryMapping(22, TorznabCatType.Movies, "Наше кино");

View File

@ -67,7 +67,7 @@ namespace Jackett.Common.Indexers
) )
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "fr-fr"; Language = "fr-FR";
Type = "semi-private"; Type = "semi-private";
// requestDelay for API Limit (1 request per 2 seconds) // requestDelay for API Limit (1 request per 2 seconds)

View File

@ -41,7 +41,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationData()) configData: new ConfigurationData())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "ru-ru"; Language = "ru-RU";
Type = "public"; Type = "public";
AddCategoryMapping(1, TorznabCatType.TVAnime, "Anime"); AddCategoryMapping(1, TorznabCatType.TVAnime, "Anime");

View File

@ -64,7 +64,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataToloka()) configData: new ConfigurationDataToloka())
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "uk-ua"; Language = "uk-UA";
Type = "semi-private"; Type = "semi-private";
AddCategoryMapping(117, TorznabCatType.Movies, "Українське кіно"); AddCategoryMapping(117, TorznabCatType.Movies, "Українське кіно");

View File

@ -77,7 +77,7 @@ namespace Jackett.Common.Indexers
) )
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "fr-fr"; Language = "fr-FR";
Type = "private"; Type = "private";
// Movies / Films // Movies / Films

View File

@ -58,7 +58,7 @@ namespace Jackett.Common.Indexers
{ {
Encoding = Encoding.UTF8; Encoding = Encoding.UTF8;
Language = "es-es"; Language = "es-ES";
Type = "private"; Type = "private";
AddCategoryMapping("cat[]=1&subcat[]=1", TorznabCatType.MoviesDVD, "Películas/DVD"); AddCategoryMapping("cat[]=1&subcat[]=1", TorznabCatType.MoviesDVD, "Películas/DVD");