mirror of
https://github.com/iptv-org/epg
synced 2026-05-25 18:51:16 -04:00
Merge branch 'master' into pr/2180
This commit is contained in:
@@ -15,7 +15,6 @@ module.exports = {
|
||||
const items = parseItems(content)
|
||||
date = date.subtract(1, 'd')
|
||||
items.forEach((item, i) => {
|
||||
const prev = programs[programs.length - 1]
|
||||
const $item = cheerio.load(item)
|
||||
let start = parseStart($item, date)
|
||||
if (i === 0 && start.hour >= 5) {
|
||||
@@ -41,7 +40,7 @@ module.exports = {
|
||||
},
|
||||
async channels() {
|
||||
const data = await axios
|
||||
.get(`https://www.gatotv.com/guia_tv/completa`)
|
||||
.get('https://www.gatotv.com/guia_tv/completa')
|
||||
.then(response => response.data)
|
||||
.catch(console.log)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user