mirror of
https://github.com/iptv-org/epg
synced 2025-12-22 13:26:56 -05:00
Update ontvtonight.com.config.js
This commit is contained in:
@@ -134,6 +134,7 @@ module.exports = {
|
|||||||
let name = $(el).find('center > a:eq(1)').text()
|
let name = $(el).find('center > a:eq(1)').text()
|
||||||
name = name.replace(/\-\-/gi, '-')
|
name = name.replace(/\-\-/gi, '-')
|
||||||
const url = $(el).find('center > a:eq(1)').attr('href')
|
const url = $(el).find('center > a:eq(1)').attr('href')
|
||||||
|
if (!url) return
|
||||||
const [, number, slug] = url.match(/\/(\d+)\/(.*)\.html$/)
|
const [, number, slug] = url.match(/\/(\d+)\/(.*)\.html$/)
|
||||||
|
|
||||||
channels.push({
|
channels.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user