NAME

WWW::EZTV - EZTV scrapper

VERSION

version 0.07

SYNOPSIS

use WWW::EZTV;
use v5.10;

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

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

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

# Get first torrent url for this episode
say $episode->find_link(sub{ $_->type eq 'torrent' })->url;

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.