From b8784254131726cfce43935de0f171bf3f68abbc Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 1 Feb 2022 05:40:01 +0300 Subject: [PATCH] Update tv.lv.config.js --- sites/tv.lv/tv.lv.config.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/sites/tv.lv/tv.lv.config.js b/sites/tv.lv/tv.lv.config.js index 51e7d6b0..feee6f9f 100644 --- a/sites/tv.lv/tv.lv.config.js +++ b/sites/tv.lv/tv.lv.config.js @@ -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)