mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update tvprofil.com.config.js
This commit is contained in:
parent
517cd820e6
commit
86b014f4e8
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@ const cheerio = require('cheerio')
|
||||||
const dayjs = require('dayjs')
|
const dayjs = require('dayjs')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
delay: 5000,
|
||||||
site: 'tvprofil.com',
|
site: 'tvprofil.com',
|
||||||
request: {
|
request: {
|
||||||
headers: {
|
headers: {
|
||||||
|
@ -16,6 +17,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
logo: function ({ content }) {
|
logo: function ({ content }) {
|
||||||
const result = parseContent(content)
|
const result = parseContent(content)
|
||||||
|
if (!result) return null
|
||||||
|
|
||||||
return `https://cdn-0.tvprofil.com/cdn/100x40/10/img/kanali-logo/${result.data.channel.logo}`
|
return `https://cdn-0.tvprofil.com/cdn/100x40/10/img/kanali-logo/${result.data.channel.logo}`
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue