Permalink
Browse files

Revert "animate.tv: get thumbnail for the latest episode"

This reverts commit e1725a7.
  • Loading branch information...
1 parent e1725a7 commit 508329ac67dc9c01d24386091af55e2f7b4634f4 @miyagawa miyagawa committed Mar 1, 2009
Showing with 0 additions and 8 deletions.
  1. +0 −8 root/plugins/animate.tv/scraper-webradio.pl
@@ -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';
@@ -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")]',

0 comments on commit 508329a

Please sign in to comment.