mirror of
https://github.com/iptv-org/epg
synced 2026-05-09 19:07:03 -04:00
Update /sites
This commit is contained in:
@@ -10,8 +10,7 @@ dayjs.extend(customParseFormat)
|
||||
module.exports = {
|
||||
site: 'rotana.net',
|
||||
days: 2,
|
||||
skip: true, // NOTE: there is no program for the current date on the site
|
||||
url({ channel, date }) {
|
||||
url({ channel }) {
|
||||
return `https://rotana.net/triAssets/uploads/2020/11/${channel.site_id}.csv`
|
||||
},
|
||||
request: {
|
||||
@@ -36,10 +35,6 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
|
||||
function parseIcon(item) {
|
||||
return item.pictures && item.pictures.length ? item.pictures[0].href : null
|
||||
}
|
||||
|
||||
function parseStart(item) {
|
||||
const time = `${item['Start Date']} ${item['Start Time']}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user