mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update ontvtonight.com.config.js
This commit is contained in:
parent
fee7c4b2ab
commit
c1835ac2eb
1 changed files with 1 additions and 0 deletions
|
@ -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({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue