mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Fixes dstv.com
This commit is contained in:
parent
ccf3c1f35d
commit
f1cab22f63
2 changed files with 10 additions and 9 deletions
|
@ -18,12 +18,13 @@ module.exports = {
|
|||
let programs = []
|
||||
const items = parseItems(content, channel)
|
||||
for (const item of items) {
|
||||
const details = await loadProgramDetails(item)
|
||||
// NOTE: the job has exceeded the maximum execution time of 360 minutes (https://github.com/iptv-org/epg/runs/5608211322?check_suite_focus=true)
|
||||
// const details = await loadProgramDetails(item)
|
||||
programs.push({
|
||||
title: item.Title,
|
||||
description: parseDescription(details),
|
||||
icon: parseIcon(details),
|
||||
category: parseCategory(details),
|
||||
// description: parseDescription(details),
|
||||
// icon: parseIcon(details),
|
||||
// category: parseCategory(details),
|
||||
start: parseStart(item),
|
||||
stop: parseStop(item)
|
||||
})
|
||||
|
|
|
@ -65,11 +65,11 @@ it('can parse response', done => {
|
|||
{
|
||||
start: '2022-03-11T00:10:00.000Z',
|
||||
stop: '2022-03-11T00:50:00.000Z',
|
||||
title: 'Curb Your Enthusiasm',
|
||||
description:
|
||||
"'S11/E6 of 10 - Man Fights Tiny Woman'. A general entertainment channel showcasing the best international content, focusing on scripted drama, comedy and talk.",
|
||||
icon: 'https://03mcdecdnimagerepository.blob.core.windows.net/epguideimage/img/21893_curb_your_enthusiam169.jpg',
|
||||
category: ['Sitcom', 'Comedy']
|
||||
title: 'Curb Your Enthusiasm'
|
||||
// description:
|
||||
// "'S11/E6 of 10 - Man Fights Tiny Woman'. A general entertainment channel showcasing the best international content, focusing on scripted drama, comedy and talk.",
|
||||
// icon: 'https://03mcdecdnimagerepository.blob.core.windows.net/epguideimage/img/21893_curb_your_enthusiam169.jpg',
|
||||
// category: ['Sitcom', 'Comedy']
|
||||
}
|
||||
])
|
||||
done()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue