mirror of
https://github.com/iptv-org/epg
synced 2025-12-23 05:46:40 -05:00
Update useetv.com.config.js
This commit is contained in:
@@ -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()
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user