mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Merge pull request #2314 from Sicilykill/issue_2301
Resolves issue reported in #2301
This commit is contained in:
commit
2709a1d075
3 changed files with 3 additions and 3 deletions
2
SITES.md
2
SITES.md
|
@ -174,7 +174,7 @@
|
|||
| [tvpassport.com](sites/tvpassport.com) | 🟢 | |
|
||||
| [tvplus.com.tr](sites/tvplus.com.tr) | 🟢 | |
|
||||
| [tvprofil.com](sites/tvprofil.com) | 🟢 | |
|
||||
| [tvtv.us](sites/tvtv.us) | 🔴 | https://github.com/iptv-org/epg/issues/2176 |
|
||||
| [tvtv.us](sites/tvtv.us) | 🟢 | |
|
||||
| [vidio.com](sites/vidio.com) | 🟢 | |
|
||||
| [virginmediatelevision.ie](sites/virginmediatelevision.ie) | 🟢 | |
|
||||
| [virgintvgo.virginmedia.com](sites/virgintvgo.virginmedia.com) | 🟢 | |
|
||||
|
|
|
@ -8,7 +8,7 @@ module.exports = {
|
|||
delay: 1500, // 1500 ms (otherwise the server returns error 429: https://github.com/iptv-org/epg/issues/2176)
|
||||
days: 2,
|
||||
url: function ({ date, channel }) {
|
||||
return `https://www.tvtv.us/api/v1/lineup/USA-NY71652-DEFAULT/grid/${date.toJSON()}/${date
|
||||
return `https://www.tvtv.us/api/v1/lineup/USA-NY71652-X/grid/${date.toJSON()}/${date
|
||||
.add(1, 'd')
|
||||
.toJSON()}/${channel.site_id}`
|
||||
},
|
||||
|
|
|
@ -14,7 +14,7 @@ const channel = {
|
|||
|
||||
it('can generate valid url', () => {
|
||||
expect(url({ channel, date })).toBe(
|
||||
'https://www.tvtv.us/api/v1/lineup/USA-NY71652-DEFAULT/grid/2022-09-20T00:00:00.000Z/2022-09-21T00:00:00.000Z/62670'
|
||||
'https://www.tvtv.us/api/v1/lineup/USA-NY71652-X/grid/2022-09-20T00:00:00.000Z/2022-09-21T00:00:00.000Z/62670'
|
||||
)
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue