mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Merge branch 'iptv-org:master' into telenet.tv
This commit is contained in:
commit
a0e26763c9
2 changed files with 382 additions and 395 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({
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue