Update update-readme.js
This commit is contained in:
parent
8626f1f2d9
commit
d63e68760d
@ -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>`
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user