Skip to content

Commit

Permalink
TorrentHeaven: drop grabs and add new tv4k cat (Jackett#10262)
Browse files Browse the repository at this point in the history
  • Loading branch information
HaraldWeber authored Nov 21, 2020
1 parent 91ab3a2 commit 5535f49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Jackett.Common/Indexers/TorrentHeaven.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ public TorrentHeaven(IIndexerConfigurationService configService, WebClient wc, L
AddCategoryMapping(53, TorznabCatType.TV, "TV/Serien Complete Packs");
AddCategoryMapping(54, TorznabCatType.TVSport, "TV/Sport");
AddCategoryMapping(66, TorznabCatType.TVForeign, "TV/International");
AddCategoryMapping(110, TorznabCatType.TVUHD, "TV/Serien - 4K");
AddCategoryMapping(22, TorznabCatType.Books, "MISC/EBooks");
AddCategoryMapping(24, TorznabCatType.Other, "MISC/Sonstiges");
AddCategoryMapping(25, TorznabCatType.Other, "MISC/Tonspuren");
Expand Down Expand Up @@ -237,7 +238,6 @@ protected override async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuer
var size = ReleaseInfo.GetBytes(qColumn1[1].TextContent);
var seeders = ParseUtil.CoerceInt(qColumn2[2].TextContent);
var leechers = ParseUtil.CoerceInt(qColumn1[3].TextContent);
var grabs = ParseUtil.CoerceInt(qColumn1[2].TextContent);
var publishDate = TimeZoneInfo.ConvertTime(dateGerman, germanyTz, TimeZoneInfo.Local);

var release = new ReleaseInfo
Expand All @@ -253,7 +253,6 @@ protected override async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuer
Seeders = seeders,
Peers = leechers + seeders,
PublishDate = publishDate,
Grabs = grabs,
DownloadVolumeFactor = downloadFactor,
UploadVolumeFactor = 1
};
Expand Down

0 comments on commit 5535f49

Please sign in to comment.