Update hd-plus.de

This commit is contained in:
Aleksandr Statciuk
2022-02-01 05:04:51 +03:00
parent a163c971ff
commit de1a0711f4
2 changed files with 1 additions and 12 deletions

View File

@@ -9,7 +9,6 @@ dayjs.extend(timezone)
dayjs.extend(customParseFormat)
module.exports = {
lang: 'de',
site: 'hd-plus.de',
url({ date, channel }) {
const today = dayjs().utc().startOf('d')
@@ -17,12 +16,6 @@ module.exports = {
return `https://www.hd-plus.de/epg/channel/${channel.site_id}?d=${day}`
},
logo({ content }) {
const $ = cheerio.load(content)
const imgSrc = $('header > img').attr('src')
return imgSrc ? `https:${imgSrc}` : null
},
parser({ content, date }) {
const programs = []
const items = parseItems(content)