diff --git a/sites/tvprofil.com/tvprofil.com.config.js b/sites/tvprofil.com/tvprofil.com.config.js index 4b443384..b6b5501c 100644 --- a/sites/tvprofil.com/tvprofil.com.config.js +++ b/sites/tvprofil.com/tvprofil.com.config.js @@ -4,22 +4,16 @@ const dayjs = require('dayjs') module.exports = { site: 'tvprofil.com', ignore: true, // NOTE: server is not stable - request: { - headers: { - 'x-requested-with': 'XMLHttpRequest' - } - }, url: function ({ channel, date }) { const parts = channel.site_id.split('#') const query = buildQuery(parts[1], date) return `https://tvprofil.com/${parts[0]}/program/?${query}` }, - logo: function ({ content }) { - const result = parseContent(content) - if (!result) return null - - return `https://cdn-0.tvprofil.com/cdn/100x40/10/img/kanali-logo/${result.data.channel.logo}` + request: { + headers: { + 'x-requested-with': 'XMLHttpRequest' + } }, parser: function ({ content, channel, date }) { let programs = []