immortalseed: try https switch for #4956

also add missing categories
This commit is contained in:
Garfield69 2019-03-25 18:13:14 +13:00
parent 58f9078d70
commit 6d23341f06
1 changed files with 13 additions and 1 deletions

View File

@ -21,6 +21,10 @@ namespace Jackett.Common.Indexers
private string LoginUrl { get { return SiteLink + "takelogin.php"; } }
private string QueryString { get { return "?do=search&keywords={0}&search_type=t_name&category=0&include_dead_torrents=no"; } }
public override string[] LegacySiteLinks { get; protected set; } = new string[] {
"http://immortalseed.me/",
};
private new ConfigurationDataBasicLogin configData
{
get { return (ConfigurationDataBasicLogin)base.configData; }
@ -30,7 +34,7 @@ namespace Jackett.Common.Indexers
public ImmortalSeed(IIndexerConfigurationService configService, Utils.Clients.WebClient wc, Logger l, IProtectionService ps)
: base(name: "ImmortalSeed",
description: "ImmortalSeed (iS) is a Private Torrent Tracker for MOVIES / TV / GENERAL",
link: "http://immortalseed.me/",
link: "https://immortalseed.me/",
caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
configService: configService,
client: wc,
@ -77,6 +81,14 @@ namespace Jackett.Common.Indexers
AddCategoryMapping(9, TorznabCatType.TVSD, "TV - Standard Definition - XviD");
AddCategoryMapping(4, TorznabCatType.TVHD, "TV Season Packs - HD");
AddCategoryMapping(6, TorznabCatType.TVSD, "TV Season Packs - SD");
AddCategoryMapping(22, TorznabCatType.BooksEbook, "Ebooks");
AddCategoryMapping(26, TorznabCatType.PCGames, "Games-PC ISO");
AddCategoryMapping(46, TorznabCatType.BooksMagazines, "Magazines");
AddCategoryMapping(50, TorznabCatType.PCPhoneIOS, "IOS");
AddCategoryMapping(51, TorznabCatType.PCPhoneAndroid, "Android");
AddCategoryMapping(52, TorznabCatType.PC0day, "Windows");
AddCategoryMapping(53, TorznabCatType.TVDocumentary, "Documentary - SD");
AddCategoryMapping(58, TorznabCatType.TVSport, "Olympics");
}
public override async Task<IndexerConfigurationStatus> ApplyConfiguration(JToken configJson)