mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update rthk.hk.config.js
This commit is contained in:
parent
c27f281a57
commit
9099706fae
1 changed files with 3 additions and 3 deletions
|
@ -44,14 +44,14 @@ module.exports = {
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseIcon($item) {
|
function parseIcon($item) {
|
||||||
return $item('*').data('p')
|
return $item('.single-wrap').data('p')
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseCategories($item) {
|
function parseCategories($item) {
|
||||||
let cate = $item('*').data('cate')
|
let cate = $item('.single-wrap').data('cate') || ''
|
||||||
let [_, categories] = cate.match(/^\|(.*)\|$/) || [null, '']
|
let [_, categories] = cate.match(/^\|(.*)\|$/) || [null, '']
|
||||||
|
|
||||||
return categories.split('||')
|
return categories.split('||').filter(Boolean)
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseTitle($item) {
|
function parseTitle($item) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue