Update epg-grabber.js

This commit is contained in:
Aleksandr Statciuk 2023-01-10 11:28:48 +03:00
parent f3aa7d0820
commit f7d90ece5b
1 changed files with 0 additions and 1 deletions

View File

@ -76,7 +76,6 @@ async function main() {
const total = channels.length * days const total = channels.length * days
const utcDate = getUTCDate() const utcDate = getUTCDate()
const dates = Array.from({ length: days }, (_, i) => utcDate.add(i, 'd')) const dates = Array.from({ length: days }, (_, i) => utcDate.add(i, 'd'))
console.log(dates)
for (let channel of channels) { for (let channel of channels) {
if (!channel.logo && config.logo) { if (!channel.logo && config.logo) {
channel.logo = await grabber.loadLogo(channel) channel.logo = await grabber.loadLogo(channel)