1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-27 02:09:24 +00:00

xthor: remove torrents from hidden category. resolves #10407 (#11408)

This commit is contained in:
Diego Heras 2021-03-24 21:46:33 +01:00 committed by GitHub
parent 6e6c7a4ae5
commit 8aef992535
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -241,7 +241,9 @@ namespace Jackett.Common.Indexers
if (xthorResponse.torrents != null)
{
// Adding each torrent row to releases
releases.AddRange(xthorResponse.torrents.Select(torrent =>
// Exclude hidden torrents (category 106, example => search 'yoda' in the API) #10407
releases.AddRange(xthorResponse.torrents
.Where(torrent => torrent.category != 106).Select(torrent =>
{
//issue #3847 replace multi keyword
if (!string.IsNullOrEmpty(ReplaceMulti))