From 6dcb31c11803f862971fbb3bf686ec6ec8688e6c Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 8 Aug 2022 19:53:34 +0300 Subject: [PATCH] Update useetv.com.config.js --- sites/useetv.com/useetv.com.config.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sites/useetv.com/useetv.com.config.js b/sites/useetv.com/useetv.com.config.js index 57d58237..26ab90b1 100644 --- a/sites/useetv.com/useetv.com.config.js +++ b/sites/useetv.com/useetv.com.config.js @@ -9,7 +9,7 @@ dayjs.extend(timezone) dayjs.extend(customParseFormat) module.exports = { - site: 'vidio.com', + site: 'useetv.com', url({ channel }) { return `https://www.useetv.com/tvod/${channel.site_id}` }, @@ -63,9 +63,5 @@ function parseTitle($item) { function parseItems(content, date) { const $ = cheerio.load(content) - return $( - `#pills-${date.format( - 'YYYY-MM-DD' - )} .schedule-item` - ).toArray() + return $(`#pills-${date.format('YYYY-MM-DD')} .schedule-item`).toArray() }