Mangasee more bad words
This commit is contained in:
parent
c8225db4fe
commit
2333cd9095
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user