mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 17:40:07 -04:00
Update useetv.com.config.js
This commit is contained in:
parent
d77656a4bc
commit
6dcb31c118
1 changed files with 2 additions and 6 deletions
|
@ -9,7 +9,7 @@ dayjs.extend(timezone)
|
||||||
dayjs.extend(customParseFormat)
|
dayjs.extend(customParseFormat)
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
site: 'vidio.com',
|
site: 'useetv.com',
|
||||||
url({ channel }) {
|
url({ channel }) {
|
||||||
return `https://www.useetv.com/tvod/${channel.site_id}`
|
return `https://www.useetv.com/tvod/${channel.site_id}`
|
||||||
},
|
},
|
||||||
|
@ -63,9 +63,5 @@ function parseTitle($item) {
|
||||||
function parseItems(content, date) {
|
function parseItems(content, date) {
|
||||||
const $ = cheerio.load(content)
|
const $ = cheerio.load(content)
|
||||||
|
|
||||||
return $(
|
return $(`#pills-${date.format('YYYY-MM-DD')} .schedule-item`).toArray()
|
||||||
`#pills-${date.format(
|
|
||||||
'YYYY-MM-DD'
|
|
||||||
)} .schedule-item`
|
|
||||||
).toArray()
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue