Update mi.tv

This commit is contained in:
freearhey
2023-12-03 17:38:59 +03:00
parent 556b0b40b3
commit 9325521055
13 changed files with 56 additions and 33 deletions
+4 -1
View File
@@ -42,7 +42,10 @@ module.exports = {
return programs
},
async channels({ country, lang }) {
async channels({ country }) {
let lang = 'es'
if (country === 'br') lang = 'pt'
const axios = require('axios')
const data = await axios
.get(`https://mi.tv/${country}/sitemap`)