projects
/
cascardo
/
www-eztv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changes URL to eztv.ag and tries to fix DOM parsing.
[cascardo/www-eztv.git]
/
lib
/
WWW
/
EZTV
/
Show.pm
diff --git
a/lib/WWW/EZTV/Show.pm
b/lib/WWW/EZTV/Show.pm
index
dc9b44c
..
75d9953
100644
(file)
--- a/
lib/WWW/EZTV/Show.pm
+++ b/
lib/WWW/EZTV/Show.pm
@@
-25,7
+25,7
@@
has episodes =>
sub _build_episodes {
my $self = shift;
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');
my $tr = shift;
my $link = $tr->at('td:nth-child(2) a');