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

@@ -3,14 +3,14 @@ const dayjs = require('dayjs')
module.exports = {
site: 'sky.de',
days: 2,
url: `https://www.sky.de/sgtvg/service/getBroadcastsForGrid`,
url: 'https://www.sky.de/sgtvg/service/getBroadcastsForGrid',
request: {
method: 'POST',
headers: {
'accept-language': 'en-GB',
'accept-encoding': 'gzip, deflate, br',
accept: 'application/json'
},
'accept-language': 'en-GB',
'accept-encoding': 'gzip, deflate, br',
accept: 'application/json'
},
data: function ({ channel, date }) {
return {
cil: [channel.site_id],
@@ -47,4 +47,4 @@ function parseContent(content, channel) {
function parseItems(content, channel) {
const data = parseContent(content, channel)
return data && Array.isArray(data.el) ? data.el : []
}
}