assorted: follow up on #12274 but for C#

This commit is contained in:
Garfield69 2021-09-08 13:02:29 +12:00
parent 72be4c3b00
commit da340ed952
53 changed files with 53 additions and 53 deletions

View File

@ -63,7 +63,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataBasicLoginWithRSSAndDisplay("Only the results from the first search result page are shown, adjust your profile settings to show a reasonable amount (it looks like there's no maximum)."))
{
Encoding = Encoding.GetEncoding("iso-8859-1");
Language = "de-de";
Language = "de-DE";
Type = "private";
AddCategoryMapping(1, TorznabCatType.Other, "Other/Anderes");

View File

@ -50,7 +50,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataCookie("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(1, TorznabCatType.TVAnime, "Anime");

View File

@ -34,7 +34,7 @@ namespace Jackett.Common.Indexers
supportsFreeleechTokens: true,
has2Fa: true)
{
Language = "zh-cn";
Language = "zh-CN";
Type = "private";
AddCategoryMapping(1, TorznabCatType.Audio, "Music");

View File

@ -68,7 +68,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataBasicLoginWithRSSAndDisplay())
{
Encoding = Encoding.GetEncoding("iso-8859-2");
Language = "pl-pl";
Language = "pl-PL";
Type = "semi-private";
AddCategoryMapping(14, TorznabCatType.Movies, "Filmy");

View File

@ -63,7 +63,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataFileList())
{
Encoding = Encoding.UTF8;
Language = "ro-ro";
Language = "ro-RO";
Type = "private";
AddCategoryMapping(1, TorznabCatType.MoviesSD, "Filme SD");

View File

@ -84,7 +84,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataCookie("For best results, change the 'Torrents per page' option to 100 and check the 'Torrents - Show files count' option in the website Settings."))
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "private";
configData.AddDynamic("freeleech", new BoolConfigurationItem("Search freeleech only") { Value = false });

View File

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

View File

@ -66,7 +66,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationData())
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "public";
var sort = new SingleSelectConfigurationItem("Sort requested from site", new Dictionary<string, string>

View File

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

View File

@ -59,7 +59,7 @@ namespace Jackett.Common.Indexers
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "semi-private";
var sort = new ConfigurationData.SingleSelectConfigurationItem("Sort requested from site", new Dictionary<string, string>

View File

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

View File

@ -66,7 +66,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataBasicLogin())
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "private";
var sort = new SingleSelectConfigurationItem("Sort requested from site", new Dictionary<string, string>

View File

@ -45,7 +45,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataMyAnonamouse())
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "private";
webclient.EmulateBrowser = false;

View File

@ -78,7 +78,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataNCore())
{
Encoding = Encoding.UTF8;
Language = "hu-hu";
Language = "hu-HU";
Type = "private";
AddCategoryMapping("xvid_hun", TorznabCatType.MoviesSD, "Film SD/HU");

View File

@ -47,7 +47,7 @@ namespace Jackett.Common.Indexers
<br/>For best results, change the 'Torrents per page' setting to 100 in your profile on the NBL webpage."))
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "private";
AddCategoryMapping(1, TorznabCatType.TV);

View File

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

View File

@ -51,7 +51,7 @@ namespace Jackett.Common.Indexers
usePassKey: false,
instructionMessageOptional: "<ol><li>Go to Orpheus's site and open your account settings.</li><li>Under <b>Access Settings</b> click on 'Create a new token'</li><li>Give it a name you like and click <b>Generate</b>.</li><li>Copy the generated API Key and paste it in the above text field.</li></ol>")
{
Language = "en-us";
Language = "en-US";
Type = "private";
AddCategoryMapping(1, TorznabCatType.Audio, "Music");

View File

@ -57,7 +57,7 @@ namespace Jackett.Common.Indexers
<br><code>GoldenPopcorn</code><br><code>Scene</code><br><code>Checked</code><br><code>Free</code>"))
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "private";
webclient.requestDelay = 2; // 0.5 requests per second

View File

@ -52,7 +52,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataBasicLoginWithRSSAndDisplay("Only the results from the first search result page are shown, adjust your profile settings to show the maximum."))
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "private";
AddCategoryMapping("1080P", TorznabCatType.MoviesHD, "1080P");

View File

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

View File

@ -61,7 +61,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataCookie())
{
Encoding = Encoding.UTF8;
Language = "pl-pl";
Language = "pl-PL";
Type = "private";
configData.AddDynamic("LanguageTitle", new BoolConfigurationItem("Add POLISH to title if has Polish language. Use this if you using Sonarr/Radarr") { Value = false });

View File

@ -56,7 +56,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataPinNumber("For best results, change the 'Torrents per page' setting to 100 in 'Profile => Torrent browse settings'."))
{
Encoding = Encoding.GetEncoding("iso-8859-1");
Language = "en-us";
Language = "en-US";
Type = "private";
// Unfortunately most of them are tags not categories and they return the parent category

View File

@ -65,7 +65,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationData())
{
Encoding = Encoding.GetEncoding("windows-1252");
Language = "en-us";
Language = "en-US";
Type = "public";
webclient.requestDelay = 2.5; // The api has a 1req/2s limit

View File

@ -51,7 +51,7 @@ namespace Jackett.Common.Indexers
instructionMessageOptional: "<ol><li>Go to Redacted's site and open your account settings.</li><li>Go to <b>Access Settings</b> tab and copy the API Key.</li><li>Ensure that you've checked <b>Confirm API Key</b>.</li><li>Finally, click <b>Save Profile</b>.</li></ol>"
)
{
Language = "en-us";
Language = "en-US";
Type = "private";
webclient.EmulateBrowser = false; // Issue #9751

View File

@ -52,7 +52,7 @@ namespace Jackett.Common.Indexers
cs: cs)
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "private";
// requestDelay for API Limit (1 request per 2 seconds)

View File

@ -58,7 +58,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("23", TorznabCatType.TVAnime);

View File

@ -55,7 +55,7 @@ namespace Jackett.Common.Indexers
"feed link. It's the last parameter in the URL."))
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "private";
webclient.AddTrustedCertificate(new Uri(SiteLink).Host, "D948487DD52462F2D1E62B990D608051E3DE5AA6");

View File

@ -58,7 +58,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataSceneTime())
{
Encoding = Encoding.GetEncoding("iso-8859-1");
Language = "en-us";
Language = "en-US";
Type = "private";
AddCategoryMapping(10, TorznabCatType.XXX, "Movies Adult");

View File

@ -38,7 +38,7 @@ namespace Jackett.Common.Indexers
cs: cs,
supportsFreeleechTokens: false) // ratioless tracker
{
Language = "en-us";
Language = "en-US";
Type = "private";
AddCategoryMapping(1, TorznabCatType.Movies, "Movies");

View File

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

View File

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

View File

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

View File

@ -56,7 +56,7 @@ namespace Jackett.Common.Indexers
cs: cs)
{
Encoding = Encoding.UTF8;
Language = "ro-ro";
Language = "ro-RO";
Type = "private";
// requestDelay for API Limit (1 request per 2 seconds)

View File

@ -69,7 +69,7 @@ namespace Jackett.Common.Indexers
web browser.<br><br>For best results, change the 'Torrents per page' setting to 100 in 'Profile Settings > Torrents'."))
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "private";
AddCategoryMapping(1, TorznabCatType.MoviesOther, "Movies/XviD");

View File

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

View File

@ -62,7 +62,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataCookie())
{
Encoding = Encoding.UTF8;
Language = "sv-sw";
Language = "sv-SW";
Type = "private";
AddCategoryMapping(1, TorznabCatType.MoviesDVD, "DVD-R Swesub");

View File

@ -56,7 +56,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataTVstore())
{
Encoding = Encoding.UTF8;
Language = "hu-hu";
Language = "hu-HU";
Type = "private";
AddCategoryMapping(1, TorznabCatType.TV);

View File

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

View File

@ -107,7 +107,7 @@ namespace Jackett.Common.Indexers
)
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "public";
// Audio

View File

@ -52,7 +52,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataBasicLoginWithRSSAndDisplay())
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "private";
wc.AddTrustedCertificate(new Uri(SiteLink).Host, "22E3C9896A1207EFF97599FE12B9DBB2AF8EC0CA");

View File

@ -53,7 +53,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataBasicLogin("For best results, change the 'Torrents per page' setting to 100 in your profile on the TorrentBytes webpage."))
{
Encoding = Encoding.GetEncoding("iso-8859-1");
Language = "en-us";
Language = "en-US";
Type = "private";
AddCategoryMapping(23, TorznabCatType.TVAnime, "Anime");

View File

@ -80,7 +80,7 @@ namespace Jackett.Common.Indexers
"Make sure you get the cookies from the same torrent day domain as configured above."))
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "private";
wc.EmulateBrowser = false;

View File

@ -53,7 +53,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataCaptchaLogin())
{
Encoding = Encoding.GetEncoding("iso-8859-1");
Language = "de-de";
Language = "de-DE";
Type = "private";
// incomplete CA chain

View File

@ -64,7 +64,7 @@ namespace Jackett.Common.Indexers
"For best results, change the 'Default Number of Torrents per Page' setting to 100 in your Profile."))
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "private";
configData.AddDynamic("freeleech", new BoolConfigurationItem("Search freeleech only") { Value = false });

View File

@ -56,7 +56,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationData())
{
Encoding = Encoding.UTF8;
Language = "tr-tr";
Language = "tr-TR";
Type = "public";
AddCategoryMapping("games", TorznabCatType.PCGames, "Oyun");

View File

@ -66,7 +66,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataBasicLoginWithRSSAndDisplay())
{
Encoding = Encoding.UTF8;
Language = "de-de";
Language = "de-DE";
Type = "private";
configData.AddDynamic("token", new HiddenStringConfigurationItem("token"));

View File

@ -52,7 +52,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationData())
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "public";
AddCategoryMapping(8000, TorznabCatType.Other);

View File

@ -60,7 +60,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataBasicLoginWithRSSAndDisplay("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";
// NOTE: Tracker Category Description must match Type/Category in details page!

View File

@ -65,7 +65,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataAPIKey())
{
Encoding = Encoding.UTF8;
Language = "de-de";
Language = "de-DE";
Type = "private";
AddCategoryMapping(2, TorznabCatType.PC, "Apps / Windows");

View File

@ -47,7 +47,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationData())
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "public";
// torrents.csv doesn't return categories

View File

@ -60,7 +60,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationDataBasicLoginWithRSSAndDisplay())
{
Encoding = Encoding.UTF8;
Language = "en-us";
Language = "en-US";
Type = "private";
AddCategoryMapping(92, TorznabCatType.MoviesUHD, "4K Movies");

View File

@ -63,7 +63,7 @@ namespace Jackett.Common.Indexers
configData: new ConfigurationData())
{
Encoding = Encoding.GetEncoding("windows-1252");
Language = "en-us";
Language = "en-US";
Type = "public";
webclient.requestDelay = 2.5; // 0.5 requests per second (2 causes problems)

View File

@ -13,7 +13,7 @@ namespace Jackett.Common.Models
public ChannelInfo()
{
// Set default values
Language = "en-us";
Language = "en-US";
Category = "search";
}
}