NAME

WWW::EZTV - EZTV scrapper

VERSION

version 0.02

SYNOPSIS

First create a WWW::EZTV object to navigate.

use WWW::EZTV;

my $eztv = WWW::EZTV->new;

my $show = $eztv->find_show(sub{ $_->name =~ /Walking dead/i });

my $episode = $show->find_episode(sub{ 
    $_->season == 3 && 
    $_->number == 8 && 
    $_->quality eq 'standard' 
});

ATTRIBUTES

url

EZTV URL.

url_shows

EZTV shows URL.

shows

Mojo::Collection of WWW::EZTV::Show objects.

has_shows

How many shows exists.

METHODS

find_show

Find first WWW::EZTV::Show object matching the given criteria. This method accept an anon function.

BUGS

This is an early release, so probable there are plenty of bugs around. If you found one, please report it on RT or at the github repo:

https://github.com/diegok/www-eztv

Pull requests are also very welcomed, but please include tests demostrating what you've fixed.

AUTHOR

Diego Kuperman <diego@freekeylabs.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Diego Kuperman.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.