mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update tv.cctv.com.config.js
This commit is contained in:
parent
2b4cfcd378
commit
a9426f00b3
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue