[mythtv-users] A tv_grab_uk_bleb grabber
paul_woodward at fastnet.co.uk
Mon Feb 2 19:17:56 EST 2004
I would have to admin to knowing nothing about shell scripting, but this
tiny modification appears to work for all days:
for DAY in `seq 0 6`; do
for CHANNEL in $MY_CHANNELS; do
wget --user-agent="bleb2xmltv (zmower at ntlworld.com)"
http://www.bleb.org/tv/data/listings/$DAY/$CHANNEL.xml | sed -e '1,2d'
# cat $CHANNEL.xml | sed -e '1,2d' >> $TEMP_FILE
BTW where can you get the program tempfile? I couldn't find it anywhere,
I ended up creating /tmp/bleb.xml and using that instead.
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Chris Moore
Sent: 02 February 2004 22:24
To: mythtv-users at mythtv.org; xmltv-devel at lists.sourceforge.net
Subject: [mythtv-users] A tv_grab_uk_bleb grabber
After several late nights, I've produced "something that works". It
isn't pretty. It's barely tested. But..
Dependencies: Needs xsltproc and wget. Both are available with Debian
Installation: I put tv_grab_uk_bleb in /usr/bin or /usr/local/bin.
Create /usr/share/xmltv/tv_grab_uk_bleb and put bleb2xmltv.xsl in it.
Cos I'm lazy I rm'ed tv_grab_uk and made it a symlink to the bleb
Configuration: See the top of the script.
TODO: process the parameters instead of just outputing to $6 (ahem).
Including getting more than one days worth of data which needs to be
cached somewhere (under /var?). Put *all* the URLs in.
I've tested it with mythfilldatabase but only bbc1/2 and itv1/2. They
don't appear on the program guide but I can search for stuff and it
finds them. Hey, every journey starts with a single step. License:
whatever XMLTV uses! Thanks for this great software btw (both sets of
(sleepy) Chris Moore
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.572 / Virus Database: 362 - Release Date: 27/01/2004
More information about the mythtv-users