Update tvguide.com.config.js

This commit is contained in:
freearhey
2026-04-19 05:04:13 +03:00
parent 8602f8e430
commit 6f5dc6a673

View File

@@ -100,16 +100,7 @@ module.exports = {
async channels() { async channels() {
const channels = [] const channels = []
try { try {
const data = await axios const data = await axios.get(await this.url({}), { headers }).then(r => r.data)
.get(await this.url({}), {
headers,
proxy: {
protocol: 'http',
host: '127.0.0.1',
port: 1086
}
})
.then(r => r.data)
data.data.items.forEach(item => { data.data.items.forEach(item => {
const name = item.fullName.replace(/Channel|Schedule/g, '').trim() const name = item.fullName.replace(/Channel|Schedule/g, '').trim()
channels.push({ channels.push({