Merge pull request #2388 from iptv-org/update-ontvtonight.com

Update ontvtonight.com
This commit is contained in:
PopeyeTheSai10r 2024-06-25 00:39:56 -07:00 committed by GitHub
commit 356bcf2120
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 382 additions and 395 deletions

View file

@ -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