Changeset 1364
- Timestamp:
- 04/05/11 22:24:51 (2 years ago)
- Files:
-
- 1 modified
-
trunk/util/chanscan.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/util/chanscan.pl
r1313 r1364 63 63 $content = &Shepherd::Common::get_url($DATASOURCE2 . $region . '/0/'); 64 64 $tree = HTML::TreeBuilder->new_from_content($content); 65 foreach my $tag ($tree->look_down('_tag' => 'li' , 'class' => 'row channel'))65 foreach my $tag ($tree->look_down('_tag' => 'li')) 66 66 { 67 next unless ($tag->attr('class') and $tag->attr('class') =~ /row channel/); 67 68 my $h3 = $tag->look_down('_tag' => 'h3'); 68 69 my $chan = $h3->as_text();
