mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update tvtv.us.config.js
This commit is contained in:
parent
54ee9678c7
commit
93d677a173
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ module.exports = {
|
||||||
}/listings?start=${date.format()}&end=${date.add(1, 'd').format()}`
|
}/listings?start=${date.format()}&end=${date.add(1, 'd').format()}`
|
||||||
},
|
},
|
||||||
logo: async function ({ channel }) {
|
logo: async function ({ channel }) {
|
||||||
|
if (channel.logo) return channel.logo
|
||||||
|
|
||||||
return await axios
|
return await axios
|
||||||
.get(`https://tvtv.us/tvm/t/tv/v4/stations/${channel.site_id}`)
|
.get(`https://tvtv.us/tvm/t/tv/v4/stations/${channel.site_id}`)
|
||||||
.then(r =>
|
.then(r =>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue