mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Fix mts.rs
This commit is contained in:
parent
c547587b98
commit
9970a3a019
2 changed files with 1 additions and 1 deletions
|
@ -46,6 +46,7 @@ module.exports = {
|
|||
|
||||
function parseContent(content, channel) {
|
||||
const [_, site_id] = channel.site_id.split('#')
|
||||
if (!content) return null
|
||||
const data = JSON.parse(content)
|
||||
if (!data || !data.channels || !data.channels.length) return null
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue