- Moderator
- #51
I wouldn't use regexps with this nice API. Create a new c# util that uses the JSON lib that is already in OnlineVideos. Override the necessary functions -> it will be much easier than trying to find regexps for the json data returned by the api.
No idea what this means: Serveren forårsagede en protokolfejl
But it sounds like the url is not valid.
I'm not sure how to do that, and I figured this much out:
Categories (shows) are in XML-format in
www.dr.dk/nu/api/programseries.xml
But to get the videos from a category (show) the URL is
www.dr.dk/nu/api/programseries/21-soendag/videos
Where "21-soendag" is contained within the "slug":
<Slug>21-soendag</Slug>
Accordign to the API, it should be possible to get the XML-file with the videos, but www.dr.dk/nu/api/programseries/21-soendag/videos.xml doesn't work, only www.dr.dk/nu/api/programseries/21-soendag/videos (which returns JSON)