mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 18:37:01 -05:00
Update rtp.pt
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user