Added more badwords to filter out when searching mangasee, resolves #26
This commit is contained in:
parent
398ac304d2
commit
25f48592c0
@ -184,7 +184,7 @@ public class Mangasee : Connector
|
||||
{
|
||||
int ret = 0;
|
||||
Regex cleanRex = new("[A-z0-9]*");
|
||||
string[] badWords = { "a", "so", "as", "and" };
|
||||
string[] badWords = { "a", "so", "as", "and", "the", "of", "that", "in", "is", "for" };
|
||||
|
||||
string[] titleTerms = title.Split(new[] { ' ', '-' }).Where(str => !badWords.Contains(str)).ToArray();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user