mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update tvpassport.com.config.js
This commit is contained in:
parent
43760e893d
commit
90a7602b78
1 changed files with 12 additions and 4 deletions
|
@ -101,19 +101,27 @@ function parseSubTitle($item) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseCategory($item) {
|
function parseCategory($item) {
|
||||||
return $item('*').data('showtype').split(', ')
|
const showtype = $item('*').data('showtype')
|
||||||
|
|
||||||
|
return showtype ? showtype.split(', ') : []
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseActors($item) {
|
function parseActors($item) {
|
||||||
return $item('*').data('cast').split(', ')
|
const cast = $item('*').data('cast')
|
||||||
|
|
||||||
|
return cast ? cast.split(', ') : []
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseDirector($item) {
|
function parseDirector($item) {
|
||||||
return $item('*').data('director').split(', ')
|
const director = $item('*').data('director')
|
||||||
|
|
||||||
|
return director ? director.split(', ') : []
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseGuest($item) {
|
function parseGuest($item) {
|
||||||
return $item('*').data('guest').split(', ')
|
const guest = $item('*').data('guest')
|
||||||
|
|
||||||
|
return guest ? guest.split(', ') : []
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseRating($item) {
|
function parseRating($item) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue