Added channel logo parser
This commit is contained in:
@@ -11,6 +11,9 @@ module.exports = {
|
||||
url: function ({ date }) {
|
||||
return `https://programacion-tv.elpais.com/data/parrilla_${date.format('DDMMYYYY')}.json`
|
||||
},
|
||||
logo: function ({ channel }) {
|
||||
return `https://programacion-tv.elpais.com/imagenes/canales/${channel.site_id}.jpg`
|
||||
},
|
||||
parser: function ({ content, date, channel }) {
|
||||
const programs = []
|
||||
const channelData = content.find(i => i.idCanal === channel.site_id)
|
||||
|
||||
Reference in New Issue
Block a user