hdtorrents: restore *.net mirror, fix bluray cats

https://github.com/Prowlarr/Prowlarr/pull/1314
This commit is contained in:
ilike2burnthing
2023-01-10 20:05:35 +00:00
committed by GitHub
parent 6aeb9e5d5b
commit 0400bd81fd

View File

@@ -38,13 +38,10 @@ namespace Jackett.Common.Indexers
{ {
"https://hdts.ru/", "https://hdts.ru/",
"https://hd-torrents.org/", "https://hd-torrents.org/",
"https://hd-torrents.net/",
"https://hd-torrents.me/" "https://hd-torrents.me/"
}; };
public override string[] LegacySiteLinks { get; protected set; } = {
"https://hd-torrents.net/"
};
private new ConfigurationDataBasicLogin configData => (ConfigurationDataBasicLogin)base.configData; private new ConfigurationDataBasicLogin configData => (ConfigurationDataBasicLogin)base.configData;
public HDTorrents(IIndexerConfigurationService configService, WebClient w, Logger l, IProtectionService ps, public HDTorrents(IIndexerConfigurationService configService, WebClient w, Logger l, IProtectionService ps,
@@ -81,8 +78,8 @@ namespace Jackett.Common.Indexers
Type = "private"; Type = "private";
// Movie // Movie
AddCategoryMapping("70", TorznabCatType.MoviesUHD, "Movie/UHD/Blu-Ray"); AddCategoryMapping("70", TorznabCatType.MoviesBluRay, "Movie/UHD/Blu-Ray");
AddCategoryMapping("1", TorznabCatType.MoviesHD, "Movie/Blu-Ray"); AddCategoryMapping("1", TorznabCatType.MoviesBluRay, "Movie/Blu-Ray");
AddCategoryMapping("71", TorznabCatType.MoviesUHD, "Movie/UHD/Remux"); AddCategoryMapping("71", TorznabCatType.MoviesUHD, "Movie/UHD/Remux");
AddCategoryMapping("2", TorznabCatType.MoviesHD, "Movie/Remux"); AddCategoryMapping("2", TorznabCatType.MoviesHD, "Movie/Remux");
AddCategoryMapping("5", TorznabCatType.MoviesHD, "Movie/1080p/i"); AddCategoryMapping("5", TorznabCatType.MoviesHD, "Movie/1080p/i");