From 48cc5e021cad5db8de6f66b75d02dda2105d6386 Mon Sep 17 00:00:00 2001 From: freearhey Date: Thu, 17 Sep 2020 23:28:11 +0300 Subject: [PATCH] Filter category by name --- scripts/update-readme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-readme.js b/scripts/update-readme.js index d511f22bb..b6f22ef91 100644 --- a/scripts/update-readme.js +++ b/scripts/update-readme.js @@ -70,7 +70,7 @@ function parseIndex() { } // categories - const categoryName = item.group.title || 'Other' + const categoryName = helper.filterGroup(item.group.title) || 'Other' const categoryCode = categoryName.toLowerCase() if (categories[categoryCode]) { categories[categoryCode].channels++