Update tv.lv.config.js

This commit is contained in:
Aleksandr Statciuk 2022-02-01 05:40:01 +03:00
parent c2115d5180
commit b878425413

View file

@ -7,15 +7,6 @@ module.exports = {
'DD-MM-YYYY'
)}?filter=channel&subslug=${channel.site_id}`
},
logo: function ({ content }) {
const data = JSON.parse(content)
const logo =
data.schedule.programme && data.schedule.programme.length
? data.schedule.programme[0].channel.logo_64
: null
return logo ? `https://cdn.tvstart.com/img/channel/${logo}` : null
},
parser: function ({ content }) {
const programs = []
const items = parseItems(content)