mirror of
https://github.com/alexankitty/Myrient-Search-Engine.git
synced 2026-01-15 16:33:15 -03:00
add default others if no match
This commit is contained in:
@@ -134,6 +134,9 @@ function findCategory(str, catList){
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!foundCat){
|
||||
foundCat = "Others"
|
||||
}
|
||||
}
|
||||
return `${foundCat} ${foundSubCat}`.trim()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user