1 package WWW::EZTV::Link;
5 # ABSTRACT: Episode link
12 has url => is => 'ro', isa => 'Str', required => 1;
21 - torrent-redirect (URL that do html/js redirect to a torrent file)
25 has type => is => 'ro', lazy => 1, builder => '_guess_type';
30 if ( $self->url =~ /magnet:/ ) {
33 elsif ( $self->url =~ /\.torrent$/ ) {
36 elsif ( $self->url =~ /bt-chat.com/ ) {
37 return 'torrent-redirect';