mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
brasiltracker: fix some 3x category detection
This commit is contained in:
@@ -235,6 +235,11 @@ namespace Jackett.Common.Indexers.Definitions
|
||||
}
|
||||
yearStr ??= qDetailsLink.NextSibling.TextContent.Trim();
|
||||
category = Regex.Replace(yearStr, @".+ \[(.+)\]", "$1");
|
||||
if (category == "XXX")
|
||||
{
|
||||
// some 3x titles end with [XXX] which needs to be renamed.
|
||||
category = category.Replace("XXX", "Filmes XXX");
|
||||
}
|
||||
|
||||
if (Uri.TryCreate(row.QuerySelector("img[alt=\"Cover\"]")?.GetAttribute("src"),
|
||||
UriKind.Absolute, out var posterUri))
|
||||
|
Reference in New Issue
Block a user