The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::EZTV - EZTV scrapper

VERSION

version 0.01

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.

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.