update readme and update custom fixes
All checks were successful
Build docker container / build (push) Successful in 15m44s
All checks were successful
Build docker container / build (push) Successful in 15m44s
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//https://github.com/iptv-org/epg/blob/master/sites/orangetv.orange.es/orangetv.orange.es.config.js
|
||||
|
||||
const dayjs = require('dayjs')
|
||||
const utc = require('dayjs/plugin/utc')
|
||||
const doFetch = require('@ntlab/sfetch')
|
||||
@@ -18,9 +20,12 @@ module.exports = {
|
||||
request: {
|
||||
cache: {
|
||||
ttl: 24 * 60 * 60 * 1000 // 1 day
|
||||
},
|
||||
headers: {
|
||||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36'
|
||||
}
|
||||
},
|
||||
url({ date, segment = 1 }) {
|
||||
url: function({ date, segment = 1 }) {
|
||||
return `${API_PROGRAM_ENDPOINT}/${date.format('YYYYMMDD')}_8h_${segment}.json`
|
||||
},
|
||||
async parser({ content, channel, date }) {
|
||||
|
||||
Reference in New Issue
Block a user