mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-12 10:00:08 -04:00
Update dstv.com.config.js
This commit is contained in:
parent
525833c918
commit
9b19730c07
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ module.exports = {
|
||||||
)}`
|
)}`
|
||||||
},
|
},
|
||||||
async logo({ channel }) {
|
async logo({ channel }) {
|
||||||
|
if (channel.logo) return channel.logo
|
||||||
const [bouquetId, channelId] = channel.site_id.split('#')
|
const [bouquetId, channelId] = channel.site_id.split('#')
|
||||||
const url = `https://guide.dstv.com/api/channel/fetchChannelsByGenresInBouquet?bouquetId=${bouquetId}&genre=all`
|
const url = `https://guide.dstv.com/api/channel/fetchChannelsByGenresInBouquet?bouquetId=${bouquetId}&genre=all`
|
||||||
const result = await axios
|
const result = await axios
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue