From 86b014f4e8a7f5a4da0f06ba07c5faa6186e39d4 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sat, 16 Oct 2021 21:25:42 +0300 Subject: [PATCH] Update tvprofil.com.config.js --- sites/tvprofil.com/tvprofil.com.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sites/tvprofil.com/tvprofil.com.config.js b/sites/tvprofil.com/tvprofil.com.config.js index d75bf764..7cb8c43d 100644 --- a/sites/tvprofil.com/tvprofil.com.config.js +++ b/sites/tvprofil.com/tvprofil.com.config.js @@ -2,6 +2,7 @@ const cheerio = require('cheerio') const dayjs = require('dayjs') module.exports = { + delay: 5000, site: 'tvprofil.com', request: { headers: { @@ -16,6 +17,7 @@ module.exports = { }, 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}` },