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 })