GNOME Bugzilla – Bug 656001
Add BBC video news "feed"
Last modified: 2014-02-24 16:09:07 UTC
Here's the "rev-eng'ed" version
1. Get the bootstrap information. This should be cached, and only retrieved if it changed.
User-Agent: "BBC News 1.7.1 (iPhone; iPhone OS 4.0.1; en_GB)"
2. For each of the feeds listed in the file (again, cached), you'll get the headlines, some of which will have videos. For example:
This is decomposed into:
bbcvideo:// followed by the id of the entry (escaped), followed by a URL with some "holes" in it.
One of "<device>"'s possible values is "iphone"
One of "<bandwidth>"'s possible values is "wifi"
This is a slightly mangled version of the RSS source, most of which could be reused.
After some testing, the url deduced from the bbcvideo:// address needs to be retrieved with the "magic" user-agent.
The content at this url is file containing the uri of the actual video that can be given to gstreamer (totem can play it without any problem).
Exemple of video stream url:
I started implementing this, and it's fairly useless. There's far too few videos for this to be interesting.
Created attachment 270152 [details]
For the record, the incomplete BBC News source I started writing.