mirror of
https://github.com/iptv-org/epg
synced 2025-12-22 05:17:00 -05:00
@@ -4,8 +4,10 @@ const utc = require('dayjs/plugin/utc')
|
||||
dayjs.extend(utc)
|
||||
|
||||
module.exports = {
|
||||
skip: true, // NOTE: return an HTTP error 503 (Service Unavailable) on every request from GitHub server only (https://github.com/iptv-org/epg/issues/1172#issuecomment-1284261669)
|
||||
site: 'tvtv.us',
|
||||
request: {
|
||||
delay: 500 // 500 ms
|
||||
},
|
||||
days: 2,
|
||||
url: function ({ date, channel }) {
|
||||
return `https://www.tvtv.us/api/v1/lineup/USA-NY71652-DEFAULT/grid/${date.toJSON()}/${date
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// npx epg-grabber --config=sites/tvtv.us/tvtv.us.config.js --channels=sites/tvtv.us/tvtv.us.channels.xml --output=guide.xml --days=2
|
||||
// npx epg-grabber --config=sites/tvtv.us/tvtv.us.config.js --channels=sites/tvtv.us/tvtv.us.channels.xml --output=guide.xml
|
||||
|
||||
const { parser, url } = require('./tvtv.us.config.js')
|
||||
const dayjs = require('dayjs')
|
||||
|
||||
Reference in New Issue
Block a user