Hi.
I have a problem with a WebEPG grabber I'm trying to do.
The problem is that the site returns a json-file and I cant get my head around how to parse that file.
As I understand WebEPG supoorts json-file, but I dont know how to do that.
The url to one of the channels are:
The dat argument looks like "2023-07-06" and the channelFriendlyUrl is "svt1-hd".
So just replace [YYYY]-[MM]-[DD] with 2023-07-06 and [ID] with svt1-hd
The parts that I like to get is:
content/channels/programs/name
content/channels/programs/formattedStartTime
content/channels/programs/formattedEndTime
content/channels/programs/description
and maybe
content/channels/programs/episodeNumber
Hope someone have the time and the knowledge to help me with this.
/Juppe
I have a problem with a WebEPG grabber I'm trying to do.
The problem is that the site returns a json-file and I cant get my head around how to parse that file.
As I understand WebEPG supoorts json-file, but I dont know how to do that.
The url to one of the channels are:
The dat argument looks like "2023-07-06" and the channelFriendlyUrl is "svt1-hd".
So just replace [YYYY]-[MM]-[DD] with 2023-07-06 and [ID] with svt1-hd
The parts that I like to get is:
content/channels/programs/name
content/channels/programs/formattedStartTime
content/channels/programs/formattedEndTime
content/channels/programs/description
and maybe
content/channels/programs/episodeNumber
Hope someone have the time and the knowledge to help me with this.
/Juppe
Last edited: