Update /sites

This commit is contained in:
freearhey
2023-10-02 06:35:33 +03:00
parent ca254a6df0
commit c0cfcf7a47
543 changed files with 30781 additions and 31187 deletions

View File

@@ -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']}`