Update tv.cctv.com.config.js
This commit is contained in:
@@ -1,14 +1,11 @@
|
|||||||
const dayjs = require('dayjs')
|
const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
lang: 'cn',
|
site: 'tv.cctv.com',
|
||||||
days: 3,
|
days: 3,
|
||||||
request: {
|
request: {
|
||||||
timeout: 10000
|
timeout: 10000
|
||||||
},
|
},
|
||||||
site: 'tv.cctv.com',
|
|
||||||
channels: 'tv.cctv.com.channels.xml',
|
|
||||||
output: '.gh-pages/guides/tv.cctv.com.guide.xml',
|
|
||||||
url({ channel, date }) {
|
url({ channel, date }) {
|
||||||
return `https://api.cntv.cn/epg/getEpgInfoByChannelNew?serviceId=tvcctv&c=${
|
return `https://api.cntv.cn/epg/getEpgInfoByChannelNew?serviceId=tvcctv&c=${
|
||||||
channel.site_id
|
channel.site_id
|
||||||
|
|||||||
Reference in New Issue
Block a user