xmltv/grab/dtv_la tv_grab_dtv_la,1.7,1.8
Geoff <[email protected]>
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/grab/dtv_la
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv12677
Modified Files:
tv_grab_dtv_la
Log Message:
(major) unbreak --configure after changes to source site
Index: tv_grab_dtv_la
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/dtv_la/tv_grab_dtv_la,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** tv_grab_dtv_la 12 Sep 2014 09:27:29 -0000 1.7
--- tv_grab_dtv_la 20 Oct 2014 07:21:44 -0000 1.8
***************
*** 692,695 ****
--- 692,700 ----
sub get_channels_from_tree( ) {
my ($tree,$channels) = @_;
+
+ # see if there's a 'pMain' so we can ignore the CMS content (which contains the on-demand channels)
+ my $chan_div = $tree->look_down('_tag' => 'div', 'id' => 'pMain');
+ $tree = $chan_div if $chan_div;
+
my @chan_groups = $tree->look_down('_tag' => 'div', 'class' => 'guia-canales')->look_down('_tag' => 'div', 'class' => 'combo-canal-content');
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho