mirror of
https://github.com/iptv-org/epg
synced 2025-12-18 11:27:06 -05:00
Update grab.js
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user