mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 10:56:57 -05:00
Update tvpassport.com.config.js
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user