mirror of
https://github.com/iptv-org/epg
synced 2026-04-07 19:32:55 -04:00
dishtv channels parser ?fix
This commit is contained in:
@@ -76,8 +76,11 @@ module.exports = {
|
||||
for (let item of queue) {
|
||||
const data = await axios(item)
|
||||
.then(r => r.data)
|
||||
.catch(console.error)
|
||||
.catch(err => {
|
||||
console.error(`Error fetching page ${item.data.get('pageNum')}: ${err.message}`)
|
||||
})
|
||||
|
||||
if (!data) continue
|
||||
data.programDetailsByChannel.forEach(channel => {
|
||||
channels.push({
|
||||
lang: 'en',
|
||||
|
||||
Reference in New Issue
Block a user