1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-06 03:38:31 +00:00

animebytes: allow prop in infostring, but don't parse for RLSGRP

This commit is contained in:
Bogdan 2023-04-08 06:00:38 +03:00
parent 453e0ae7e7
commit dc7359c6c4

View file

@ -44,8 +44,7 @@ namespace Jackett.Common.Indexers
private readonly HashSet<string> _excludedProperties = new HashSet<string>(StringComparer.OrdinalIgnoreCase)
{
"Freeleech",
"Hentai"
"Freeleech"
};
private ConfigurationDataAnimeBytes ConfigData => (ConfigurationDataAnimeBytes)configData;
@ -491,7 +490,7 @@ namespace Jackett.Common.Indexers
}
// We don't actually have a release name >.> so try to create one
var releaseGroup = properties.LastOrDefault();
var releaseGroup = properties.LastOrDefault(p => !p.ContainsIgnoreCase("Hentai"));
if (releaseGroup.IsNotNullOrWhiteSpace() && releaseGroup.Contains("(") && releaseGroup.Contains(")"))
{