mirror of https://github.com/Jackett/Jackett
assorted: follow up on #12274 but for C#
This commit is contained in:
parent
72be4c3b00
commit
da340ed952
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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 });
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -49,7 +49,7 @@ namespace Jackett.Common.Indexers
|
|||
useApiKey: false
|
||||
)
|
||||
{
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.Movies, "Movies");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -54,7 +54,7 @@ namespace Jackett.Common.Indexers
|
|||
)
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "private";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.MoviesHD);
|
||||
|
|
|
@ -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 });
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -107,7 +107,7 @@ namespace Jackett.Common.Indexers
|
|||
)
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Type = "public";
|
||||
|
||||
// Audio
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 });
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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"));
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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!
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace Jackett.Common.Models
|
|||
public ChannelInfo()
|
||||
{
|
||||
// Set default values
|
||||
Language = "en-us";
|
||||
Language = "en-US";
|
||||
Category = "search";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue