From a5c5ef86f4b94fbed61ab547e722d2d0029fed8a Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 12 Oct 2021 21:44:23 +0300 Subject: [PATCH] Update grab.js --- scripts/grab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/grab.js b/scripts/grab.js index bea6cbe8..30117cb5 100644 --- a/scripts/grab.js +++ b/scripts/grab.js @@ -68,7 +68,7 @@ async function main() { function filterChannels(channels, options) { return channels.filter(channel => { let result = true - if (options.country) result = channel.country === options.country + if (options.country) result = channel.country === options.country.toUpperCase() if (options.language) result = channel.lang === options.language return result })