On Mon, Apr 24, 2006 at 05:00:27PM +0100, Brendan Kehoe wrote:
>> > Anyone using xmltv (mythtv users maybe)? Using the radio times xmltv
> > grabber but it seems that doesn't cover channel 6. Has anyone gotten
> > this to work?
> >
>> Nope, I've not found any online resource offering anything for Channel
> 6's schedule except for their own website. (And even that only shows it
> for the current day. Tho admittedly I haven't done extensive searching
> for alternatives.) I figured if we can find somewhere the schedule is
> made available in whatever format, a bit of perl would let us create an
> xmltv version.
Actually they do have listings for the week on their site.
A quick script for one days plaintext:
GET http://www.channel6.ie/listings/listings.php?date=06-04-30 |
sed -ne 's#^[ ]*<li[^>]*>\([^<]*\)<h1>\([^<]*\)</.*#\1 \2#p'
^tab space
Brian
--
Website: http://www.netsoc.tcd.ie/~bbrazil
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!