mirror of
https://github.com/iptv-org/epg
synced 2025-12-18 19:36:58 -05:00
Update www3.nhk.or.jp.config.js
This commit is contained in:
@@ -2,13 +2,15 @@ const dayjs = require('dayjs')
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'www3.nhk.or.jp',
|
site: 'www3.nhk.or.jp',
|
||||||
output: 'www3.nhk.or.jp.guide.xml',
|
|
||||||
days: 5,
|
days: 5,
|
||||||
lang: 'en',
|
lang: 'en',
|
||||||
delay: 5000,
|
delay: 5000,
|
||||||
|
|
||||||
url: function ({ date }) {
|
url: function ({ date }) {
|
||||||
return `https://masterpl.hls.nhkworld.jp/epg/w/${date.toISOString().slice(0, 10).replace(/-/g, '')}.json`
|
return `https://masterpl.hls.nhkworld.jp/epg/w/${date
|
||||||
|
.toISOString()
|
||||||
|
.slice(0, 10)
|
||||||
|
.replace(/-/g, '')}.json`
|
||||||
},
|
},
|
||||||
|
|
||||||
request: {
|
request: {
|
||||||
|
|||||||
Reference in New Issue
Block a user