Adds the number of days to config.js

This commit is contained in:
Aleksandr Statciuk 2023-01-10 12:40:01 +03:00
parent 6dea9e4efd
commit f97f1b55c9
158 changed files with 166 additions and 6 deletions

View file

@ -6,6 +6,7 @@ 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',
days: 2,
url: function ({ date, channel }) {
return `https://www.tvtv.us/api/v1/lineup/USA-NY71652-DEFAULT/grid/${date.toJSON()}/${date
.add(1, 'd')