X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fwww-eztv.git;a=blobdiff_plain;f=lib%2FWWW%2FEZTV%2FUA.pm;h=41df6091518f3e95f926f0014ccc2ff9cba84677;hp=f2fbeeb9344556a81a502eab49cc8c22623328f6;hb=0d3ed08cfbcf0808a30e4cc43d2389693de396fa;hpb=377beead8952c1e815cbc9f47ba5d0bf09c9693c diff --git a/lib/WWW/EZTV/UA.pm b/lib/WWW/EZTV/UA.pm index f2fbeeb..41df609 100644 --- a/lib/WWW/EZTV/UA.pm +++ b/lib/WWW/EZTV/UA.pm @@ -2,8 +2,12 @@ package WWW::EZTV::UA; use Moose::Role; use Mojo::UserAgent; +# ABSTRACT: User agent for EZTV scrapper. + has ua => ( is => 'ro', lazy => 1, default => sub { $EZTV::Global::UA || ($EZTV::Global::UA = Mojo::UserAgent->new) } ); +=method get_response +=cut sub get_response { my ($self, $url) = (shift, shift);