mirror of
https://github.com/iptv-org/iptv
synced 2025-12-17 10:57:18 -05:00
Update update.js
This commit is contained in:
@@ -58,6 +58,12 @@ async function createCountryTable() {
|
|||||||
channels: item.count,
|
channels: item.count,
|
||||||
playlist: `<code>https://iptv-org.github.io/iptv/${item.filepath}</code>`
|
playlist: `<code>https://iptv-org.github.io/iptv/${item.filepath}</code>`
|
||||||
})
|
})
|
||||||
|
} else if (code === 'int') {
|
||||||
|
rows.push({
|
||||||
|
name: `🌍 International`,
|
||||||
|
channels: item.count,
|
||||||
|
playlist: `<code>https://iptv-org.github.io/iptv/${item.filepath}</code>`
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
const subdivision = await api.subdivisions.find({ code: code.toUpperCase() })
|
const subdivision = await api.subdivisions.find({ code: code.toUpperCase() })
|
||||||
if (subdivision) {
|
if (subdivision) {
|
||||||
|
|||||||
Reference in New Issue
Block a user