Skip to content

Commit

Permalink
Revert "animate.tv: get thumbnail for the latest episode"
Browse files Browse the repository at this point in the history
This reverts commit e1725a7.
  • Loading branch information
miyagawa committed Mar 1, 2009
1 parent e1725a7 commit 508329a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions root/plugins/animate.tv/scraper-webradio.pl
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ sub init {

sub build_scraper {
scraper {
my($thumb, $idx);
process '//td[@width="240" and @align="center"]/img[@width="240" and @height="180"]',
_image => [ '@src', sub { $thumb = $_ } ];

process '//table[@width="565" and descendant::a[contains(@href,".asx")] ]', 'entries[]' => scraper {
process 'td.main_title2', title => 'TEXT';
process '//table[@width="553"]//td[@class="main_txt1"]', body => 'TEXT';
Expand All @@ -18,10 +14,6 @@ sub build_scraper {
process '//a[contains(@href, ".asx")]', enclosure => [ '@href',
sub { +{ url => $_, type => 'video/x-ms-asf' } } ];
process '//a[contains(@href, ".asx")]', link => '@href';
process 'a', thumbnail => sub {
return unless !$idx++ && $thumb;
$thumb;
};
};
process 'title', title => 'TEXT';
process '//*[@class="main_title3"]//img[contains(@src, "logo")]',
Expand Down

0 comments on commit 508329a

Please sign in to comment.