1 package WWW::EZTV::Link;
6 # ABSTRACT: Episode link
13 has url => is => 'ro', isa => 'Str', required => 1;
22 - torrent-redirect (URL that do html/js redirect to a torrent file)
26 has type => is => 'ro', lazy => 1, builder => '_guess_type';
31 if ( $self->url =~ /magnet:/ ) {
34 elsif ( $self->url =~ /\.torrent$/ ) {
37 elsif ( $self->url =~ /bt-chat.com/ ) {
38 return 'torrent-redirect';