From 9db9f16847ab6a8247bb9d15b66ddda9904c76df Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Sat, 2 May 2026 16:15:46 +0300 Subject: [PATCH] Update streamingtvguides.com.config.js --- .../streamingtvguides.com/streamingtvguides.com.config.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sites/streamingtvguides.com/streamingtvguides.com.config.js b/sites/streamingtvguides.com/streamingtvguides.com.config.js index 28c3e0a0b..bfdd6dd92 100644 --- a/sites/streamingtvguides.com/streamingtvguides.com.config.js +++ b/sites/streamingtvguides.com/streamingtvguides.com.config.js @@ -30,7 +30,10 @@ module.exports = { }) }) - programs = sortBy(uniqBy(programs, p => p.start), p => p.start.valueOf()) + programs = sortBy( + uniqBy(programs, p => p.start), + p => p.start.valueOf() + ) return programs }, @@ -45,7 +48,7 @@ module.exports = { const $ = cheerio.load(data) $('#channel-group-all > div > div').each((i, el) => { - const site_id = $(el).find('input').attr('value').replace('&', '&') + const site_id = $(el).find('input').attr('value').replace(/&/g, '&') const label = $(el).text().trim() const svgTitle = $(el).find('svg').attr('alt') const name = (label || svgTitle || '').replace(site_id, '').trim()