Update mi.tv.config.js

This commit is contained in:
Aleksandr Statciuk 2021-09-28 01:23:22 +03:00
parent 82666e42c7
commit 1795d2dc39

View file

@ -14,7 +14,7 @@ module.exports = {
output: '.gh-pages/guides/mi.tv.guide.xml',
url({ date, channel }) {
const [country, id] = channel.site_id.split('#')
console.log(`https://mi.tv/${country}/async/channel/${id}/${date.format('YYYY-MM-DD')}/0`)
return `https://mi.tv/${country}/async/channel/${id}/${date.format('YYYY-MM-DD')}/0`
},
logo({ content }) {