Update update-readme.js

This commit is contained in:
Aleksandr Statciuk 2021-06-06 13:15:19 +03:00
parent 8626f1f2d9
commit d63e68760d
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ function generateCountriesTable() {
const prefix = flag ? `${flag} ` : ''
countries.push({
country: prefix + country.name,
channels: db.channels.forCountry(country).removeDuplicates().count(),
channels: db.channels.forCountry(country).removeDuplicates().removeNSFW().count(),
playlist: `<code>https://iptv-org.github.io/iptv/countries/${country.code}.m3u</code>`
})
}
@ -74,7 +74,7 @@ function generateLanguagesTable() {
]) {
languages.push({
language: language.name,
channels: db.channels.forLanguage(language).removeDuplicates().count(),
channels: db.channels.forLanguage(language).removeDuplicates().removeNSFW().count(),
playlist: `<code>https://iptv-org.github.io/iptv/languages/${language.code}.m3u</code>`
})
}