mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 10:30:03 -04:00
Update update-readme.js
This commit is contained in:
parent
8626f1f2d9
commit
d63e68760d
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ function generateCountriesTable() {
|
||||||
const prefix = flag ? `${flag} ` : ''
|
const prefix = flag ? `${flag} ` : ''
|
||||||
countries.push({
|
countries.push({
|
||||||
country: prefix + country.name,
|
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>`
|
playlist: `<code>https://iptv-org.github.io/iptv/countries/${country.code}.m3u</code>`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@ function generateLanguagesTable() {
|
||||||
]) {
|
]) {
|
||||||
languages.push({
|
languages.push({
|
||||||
language: language.name,
|
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>`
|
playlist: `<code>https://iptv-org.github.io/iptv/languages/${language.code}.m3u</code>`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue