Update www3.nhk.or.jp.config.js
This commit is contained in:
1 parent
a8252e060c
commit
892fcfe6e6
1 file changed
+4
-2
@@ -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