Mangasee more bad words

This commit is contained in:
glax 2023-07-16 18:15:11 +02:00
parent c8225db4fe
commit 2333cd9095

View File

@ -184,7 +184,7 @@ public class Mangasee : Connector
{ {
int ret = 0; int ret = 0;
Regex cleanRex = new("[A-z0-9]*"); Regex cleanRex = new("[A-z0-9]*");
string[] badWords = { "a", "so", "as", "and", "the", "of", "that", "in", "is", "for" }; string[] badWords = { "a", "an", "no", "ni", "so", "as", "and", "the", "of", "that", "in", "is", "for" };
string[] titleTerms = title.Split(new[] { ' ', '-' }).Where(str => !badWords.Contains(str)).ToArray(); string[] titleTerms = title.Split(new[] { ' ', '-' }).Where(str => !badWords.Contains(str)).ToArray();