mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update grab.js
This commit is contained in:
parent
070f06c06c
commit
3347527b86
1 changed files with 3 additions and 3 deletions
|
@ -34,9 +34,9 @@ async function main() {
|
||||||
await grabber
|
await grabber
|
||||||
.grab(channel, config, (item, err) => {
|
.grab(channel, config, (item, err) => {
|
||||||
console.log(
|
console.log(
|
||||||
` ${item.channel.xmltv_id} - ${item.channel.site} - ${item.date.format(
|
` ${item.channel.xmltv_id} - ${item.channel.site} (${
|
||||||
'MMM D, YYYY'
|
item.channel.lang
|
||||||
)} (${item.programs.length} programs)`
|
}) - ${item.date.format('MMM D, YYYY')} (${item.programs.length} programs)`
|
||||||
)
|
)
|
||||||
|
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue