1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-09 21:54:51 +00:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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");