Open vi opened 10 years ago
It will be a complex IE but not an impossible one it seems, just based on my basic research.
I am not sure how you got the URL you passed to youtube-dl
as I don't use iTunes but I am going to assume that the URL for various courses can be sourced easily from within iTunes (or hopefully elsewhere) and is the same format.
The basic process appears to be:
<feedURL>
key from the xml file that results from the following URL:The only aspect of the URL that changes is the id
passed to subscribePodcast
. Each course/lecture has its own id
.
.xht
feed at feedURL
. .xht
file to extract the video/audio URL and metadata information. The media file is always named enclosure.[file-extension-goes-here]
so the attributes of the other XML keys will need to be used to properly name and provide metadata to the media file(s). Though, the metadata appears to be rich so that shouldn't be much of a problem.Hopefully this helps somebody create a usable IE for iTunesU.
Might be helpful for implementing this or as an intermediary solution: https://github.com/rbrito/tunesviewer is an iTunesU Browse-GUI which can play the videos even in an external player. It seems unmaintained, but the url extraction and video player playback still works.
A lot of progress has been done here: https://github.com/rg3/youtube-dl/pull/9590