mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
anilibria: deafault cat to TV when API category is null #5762
This commit is contained in:
@@ -7,6 +7,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using AngleSharp;
|
||||
using Autofac.Core;
|
||||
using Jackett.Common.Extensions;
|
||||
using Jackett.Common.Helpers;
|
||||
using Jackett.Common.Models;
|
||||
using Jackett.Common.Models.DTO.Anilibria;
|
||||
@@ -133,7 +134,7 @@ namespace Jackett.Common.Indexers.Definitions
|
||||
Grabs = torrentInfo.Grabs,
|
||||
DownloadVolumeFactor = 0,
|
||||
UploadVolumeFactor = 1,
|
||||
Category = MapTrackerCatToNewznab(torrentInfo.Category)
|
||||
Category = MapTrackerCatToNewznab((torrentInfo.Category.IsNotNullOrWhiteSpace()) ? torrentInfo.Category : "TV")
|
||||
}));
|
||||
return releases;
|
||||
}
|
||||
|
Reference in New Issue
Block a user