mirror of
https://github.com/Jackett/Jackett
synced 2025-01-19 14:10:07 +00:00
parent
64dde8d523
commit
404b2caa63
1 changed files with 16 additions and 20 deletions
|
@ -23,27 +23,22 @@ namespace Jackett.Common.Indexers
|
||||||
private string TakeLoginUrl => SiteLink + "takelogin.php";
|
private string TakeLoginUrl => SiteLink + "takelogin.php";
|
||||||
private string SearchUrl => SiteLink + "torrents.php";
|
private string SearchUrl => SiteLink + "torrents.php";
|
||||||
|
|
||||||
private new ConfigurationDataRecaptchaLogin configData
|
private new ConfigurationDataRecaptchaLogin configData => (ConfigurationDataRecaptchaLogin)base.configData;
|
||||||
{
|
|
||||||
get => (ConfigurationDataRecaptchaLogin)base.configData;
|
|
||||||
set => base.configData = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
public BitHdtv(IIndexerConfigurationService configService, WebClient w, Logger l, IProtectionService ps) :
|
public BitHdtv(IIndexerConfigurationService configService, WebClient w, Logger l, IProtectionService ps)
|
||||||
base(
|
: base("BIT-HDTV",
|
||||||
name: "BIT-HDTV",
|
description: "BIT-HDTV - Home of High Definition",
|
||||||
description: "BIT-HDTV - Home of High Definition",
|
link: "https://www.bit-hdtv.com/",
|
||||||
link: "https://www.bit-hdtv.com/",
|
caps: new TorznabCapabilities
|
||||||
caps: new TorznabCapabilities
|
{
|
||||||
{
|
SupportsImdbMovieSearch = true
|
||||||
SupportsImdbMovieSearch = true
|
// SupportsImdbTVSearch = true (supported by the site but disabled due to #8107)
|
||||||
// SupportsImdbTVSearch = true (supported by the site but disabled due to #8107)
|
},
|
||||||
},
|
configService: configService,
|
||||||
configService: configService,
|
client: w,
|
||||||
client: w,
|
logger: l,
|
||||||
logger: l,
|
p: ps,
|
||||||
p: ps,
|
configData: new ConfigurationDataRecaptchaLogin("For best results, change the 'Torrents per page' setting to 100 in your profile."))
|
||||||
configData: new ConfigurationDataRecaptchaLogin("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";
|
||||||
|
@ -55,6 +50,7 @@ namespace Jackett.Common.Indexers
|
||||||
AddCategoryMapping(6, TorznabCatType.AudioLossless); // HQ Audio
|
AddCategoryMapping(6, TorznabCatType.AudioLossless); // HQ Audio
|
||||||
AddCategoryMapping(7, TorznabCatType.Movies); // Movies
|
AddCategoryMapping(7, TorznabCatType.Movies); // Movies
|
||||||
AddCategoryMapping(8, TorznabCatType.AudioVideo); // Music Videos
|
AddCategoryMapping(8, TorznabCatType.AudioVideo); // Music Videos
|
||||||
|
AddCategoryMapping(9, TorznabCatType.Other); // Other
|
||||||
AddCategoryMapping(5, TorznabCatType.TVSport); // Sports
|
AddCategoryMapping(5, TorznabCatType.TVSport); // Sports
|
||||||
AddCategoryMapping(10, TorznabCatType.TV); // TV
|
AddCategoryMapping(10, TorznabCatType.TV); // TV
|
||||||
AddCategoryMapping(12, TorznabCatType.TV); // TV/Seasonpack
|
AddCategoryMapping(12, TorznabCatType.TV); // TV/Seasonpack
|
||||||
|
|
Loading…
Reference in a new issue