mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 09:30:06 -04:00
Update /sites
This commit is contained in:
parent
ca254a6df0
commit
c0cfcf7a47
543 changed files with 30781 additions and 31187 deletions
|
@ -6,10 +6,9 @@ dayjs.extend(utc)
|
|||
dayjs.extend(timezone)
|
||||
|
||||
module.exports = {
|
||||
skip: true, // NOTE: return an HTTP error 302 on requests from GitHub server (https://github.com/iptv-org/epg/issues/1654#issuecomment-1382915005)
|
||||
site: 'osn.com',
|
||||
days: 2,
|
||||
url: `https://www.osn.com/CMSPages/TVScheduleWebService.asmx/GetTVChannelsProgramTimeTable`,
|
||||
url: 'https://www.osn.com/CMSPages/TVScheduleWebService.asmx/GetTVChannelsProgramTimeTable',
|
||||
request: {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
|
@ -58,7 +57,7 @@ function parseDuration(item) {
|
|||
return parseInt(item.TotalDivWidth / 4.8)
|
||||
}
|
||||
|
||||
function parseStart(item, channel) {
|
||||
function parseStart(item) {
|
||||
const time = item.StartDateTime
|
||||
|
||||
return dayjs.tz(time, 'DD MMM YYYY, HH:mm', 'Asia/Dubai')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue