Fix firstmedia.com schedule api start time.

The correct start time for schedule is 1. Settings start time to 0
will mix the schedules from next day.
This commit is contained in:
Toha
2023-11-10 20:00:19 +07:00
parent 918bb1855e
commit ccd1d3a863
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ module.exports = {
url({ channel, date }) {
return `https://api.firstmedia.com/api/content/tv-guide/list?date=${date.format(
'DD/MM/YYYY'
)}&channel=${channel.site_id}&startTime=0&endTime=24`
)}&channel=${channel.site_id}&startTime=1&endTime=24`
},
parser({ content, channel, date }) {
if (!content || !channel || !date) return []