mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -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 = []
|
let programs = []
|
||||||
const items = parseItems(content, channel)
|
const items = parseItems(content, channel)
|
||||||
for (const item of items) {
|
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({
|
programs.push({
|
||||||
title: item.Title,
|
title: item.Title,
|
||||||
description: parseDescription(details),
|
// description: parseDescription(details),
|
||||||
icon: parseIcon(details),
|
// icon: parseIcon(details),
|
||||||
category: parseCategory(details),
|
// category: parseCategory(details),
|
||||||
start: parseStart(item),
|
start: parseStart(item),
|
||||||
stop: parseStop(item)
|
stop: parseStop(item)
|
||||||
})
|
})
|
||||||
|
|
|
@ -65,11 +65,11 @@ it('can parse response', done => {
|
||||||
{
|
{
|
||||||
start: '2022-03-11T00:10:00.000Z',
|
start: '2022-03-11T00:10:00.000Z',
|
||||||
stop: '2022-03-11T00:50:00.000Z',
|
stop: '2022-03-11T00:50:00.000Z',
|
||||||
title: 'Curb Your Enthusiasm',
|
title: 'Curb Your Enthusiasm'
|
||||||
description:
|
// 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.",
|
// "'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',
|
// icon: 'https://03mcdecdnimagerepository.blob.core.windows.net/epguideimage/img/21893_curb_your_enthusiam169.jpg',
|
||||||
category: ['Sitcom', 'Comedy']
|
// category: ['Sitcom', 'Comedy']
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
done()
|
done()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue