Per Lundberg
2010-10-16 20:42:08 UTC
Hi there,
I've spent a couple of hours spread out over the last month or so
writing a little grabber for the Finnish TV channels - in Swedish.
(There is already an exising grabber for Finnish channels but with the
program listings in Finnish, and also using a different source for the
information.)
My grabber uses HTML screen-scraping from a pretty simple set of web
pages on the YLE web site, which works pretty OK I think.
When running this through the validation (tv_validate_grabber) I get a
couple of errors:
1) --version doesn't work. I don't seem to be able to get it to work
either; it seems to *expect* a CVS $Id$? This makes things a bit hard
for me. :-) I actually the code checked in to my own Mercurial
repository, but it doesn't really help in this case. I guess this will
automatically resolve itself if/when this grabber makes it into the
xmltv CVS repository.
2) tv_sort failed on /tmp/Hec3_fJmB1/t_1_2.xml, probably because of
strange start or stop times. See /tmp/Hec3_fJmB1/t_1_2.sort.log
3) The data is not additive. See /tmp/Hec3_fJmB1/t__1_2.diff
Strangely enough, these temporary folders don't seem to be available
when the validate program is completed...
Anyway, how serious are these errors? For me personally, it doesn't
really make much of a difference - the grabber works OK for me
(feeding MythTV) and that's really nice. However, getting this into
the xmltv upstream would also be nice of course.
I've attached the code to this email. If anyone of you feels like
helping me sorting out these issues, feel very free to do so. Thanks
in advance!
I've spent a couple of hours spread out over the last month or so
writing a little grabber for the Finnish TV channels - in Swedish.
(There is already an exising grabber for Finnish channels but with the
program listings in Finnish, and also using a different source for the
information.)
My grabber uses HTML screen-scraping from a pretty simple set of web
pages on the YLE web site, which works pretty OK I think.
When running this through the validation (tv_validate_grabber) I get a
couple of errors:
1) --version doesn't work. I don't seem to be able to get it to work
either; it seems to *expect* a CVS $Id$? This makes things a bit hard
for me. :-) I actually the code checked in to my own Mercurial
repository, but it doesn't really help in this case. I guess this will
automatically resolve itself if/when this grabber makes it into the
xmltv CVS repository.
2) tv_sort failed on /tmp/Hec3_fJmB1/t_1_2.xml, probably because of
strange start or stop times. See /tmp/Hec3_fJmB1/t_1_2.sort.log
3) The data is not additive. See /tmp/Hec3_fJmB1/t__1_2.diff
Strangely enough, these temporary folders don't seem to be available
when the validate program is completed...
Anyway, how serious are these errors? For me personally, it doesn't
really make much of a difference - the grabber works OK for me
(feeding MythTV) and that's really nice. However, getting this into
the xmltv upstream would also be nice of course.
I've attached the code to this email. If anyone of you feels like
helping me sorting out these issues, feel very free to do so. Thanks
in advance!
--
Best regards,
Per Lundberg
Best regards,
Per Lundberg