xmltv/grab/huro tv_grab_huro.in,1.47,1.48
Karl Dietz <[email protected]>
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/grab/huro
In directory vz-cvs-3.sog:/tmp/cvs-serv3764/grab/huro
Modified Files:
tv_grab_huro.in
Log Message:
_huro: unbreak after site changes
patches by István Váradi and Zoltan Karcagi
fixes #3535410, #3535805, #3535813
tested with all four countries
Index: tv_grab_huro.in
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/huro/tv_grab_huro.in,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** tv_grab_huro.in 28 Jul 2011 09:01:54 -0000 1.47
--- tv_grab_huro.in 19 Jun 2012 06:32:25 -0000 1.48
***************
*** 483,491 ****
# begin time | title | long desc | url | category
! if ($col->attr("colspan") && (my $begin_time = $col->look_down("_tag"=>"p", "class"=>"begin_time" )))
{
$_ = $begin_time->as_text();
} else {
$_ = $col->as_text();
}
s/^\s+//;s/\s+$//;
--- 483,498 ----
# begin time | title | long desc | url | category
! my $begin_time;
! # this matches the currently running programme only:
! if ($col->attr("colspan") && ($begin_time = $col->look_down("_tag"=>"p", "class"=>"begin_time" )))
{
$_ = $begin_time->as_text();
+ } elsif ($begin_time = $col->look_down("_tag"=>"td", "class"=>"time_container")) {
+ $_ = $begin_time->look_down("_tag"=>"div")->as_text();
} else {
$_ = $col->as_text();
+ $_ =~ tr/\xA0/ /;
+ $_ =~ s/^\s+//;
+ $_ =~ s/\s+$//;
}
s/^\s+//;s/\s+$//;
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xmltv-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmltv-commit