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

@@ -6,7 +6,7 @@ module.exports = {
url: function ({ date, channel }) {
return `https://telkussa.fi/API/Channel/${channel.site_id}/${date.format('YYYYMMDD')}`
},
parser: function ({ content, date, channel }) {
parser: function ({ content }) {
const programs = []
const items = JSON.parse(content)
if (!items.length) return programs