mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Update tv.trueid.net.config.js
This commit is contained in:
parent
1f260fcf2d
commit
95897f55e4
1 changed files with 3 additions and 5 deletions
|
@ -5,15 +5,13 @@ const utc = require('dayjs/plugin/utc')
|
||||||
dayjs.extend(utc)
|
dayjs.extend(utc)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
request: {
|
|
||||||
timeout: 300000,
|
|
||||||
jar: null
|
|
||||||
},
|
|
||||||
site: 'tv.trueid.net',
|
site: 'tv.trueid.net',
|
||||||
channels: 'tv.trueid.net.channels.xml',
|
|
||||||
url: function ({ channel, date }) {
|
url: function ({ channel, date }) {
|
||||||
return `https://tv.trueid.net/tvguide/all/${channel.site_id}/${date.format('YYYY-MM-DD')}`
|
return `https://tv.trueid.net/tvguide/all/${channel.site_id}/${date.format('YYYY-MM-DD')}`
|
||||||
},
|
},
|
||||||
|
request: {
|
||||||
|
jar: null
|
||||||
|
},
|
||||||
logo: function ({ content, channel }) {
|
logo: function ({ content, channel }) {
|
||||||
const data = parseContent(content, channel)
|
const data = parseContent(content, channel)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue