Changes URL to eztv.ag and tries to fix DOM parsing.
[cascardo/www-eztv.git] / lib / WWW / EZTV / Show.pm
index dc9b44c..75d9953 100644 (file)
@@ -25,7 +25,7 @@ has episodes =>
 
 sub _build_episodes {
     my $self = shift;
-    $self->get_response($self->url)->dom->find('table.header_noborder tr[name="hover"]')->map(sub{
+    $self->get_response($self->url)->dom->find('table tr[name="hover"]')->map(sub{
         my $tr = shift;
         my $link = $tr->at('td:nth-child(2) a');