Update rtp.pt

This commit is contained in:
freearhey committed 2023-11-26 17:22:04 +03:00
1 parent 85e875575b
commit e4475c79a2
3 files changed
+15 -17

No files matched your search

-14
View File
@@ -45,20 +45,6 @@ module.exports = {
})
return programs
},
async channels() {
const items = await axios
.get('https://www.rtp.pt/EPG/json/rtp-home-page/list-channels/tv')
.then(r => r.data.result)
.catch(console.error)
return items.map(i => {
return {
lang: 'pt',
site_id: i.channel_code,
name: i.channel_name
}
})
}
}