]>
iEval git - www-search-coveralia.git/blob - lib/WWW/Search/Coveralia/Artists.pm
1 package WWW
::Search
::Coveralia
::Artists
;
6 use parent qw
/WWW::Search::Coveralia/;
8 our $VERSION = '0.001';
10 use WWW
::Search
::Coveralia
::Result
::Artist
;
11 use constant DEFAULT_URL
=> 'http://www.coveralia.com/mostrar_artistas.php';
14 my ($self, $row) = @_;
15 my $a = $row->find('a');
16 my ($id) = $a->attr('href') =~ m
,/([^/]+)\
.php
$,;
17 WWW
::Search
::Coveralia
::Result
::Artist
->new($self, $id, $a->as_text);
25 WWW::Search::Coveralia::Artists - search for artists on coveralia.com with WWW::Search
30 my $search = WWW::Search->new('Coveralia::Artists');
31 $search->native_query('query');
32 # see WWW::Search documentation for details
36 WWW::Search::Coveralia::Artists is a subclass of WWW::Search that searches for artists using the L<http://coveralia.com> cover art website.
38 To use this module, read the L<WWW::Search> documentation.
40 Search results are instances of the L<WWW::Search::Coveralia::Result::Album> Class.
44 L<http://coveralia.com>, L<WWW::Search>, L<WWW::Search::Coveralia::Albums>
48 Marius Gavrilescu, E<lt>marius@ieval.roE<gt>
50 =head1 COPYRIGHT AND LICENSE
52 Copyright (C) 2014 by Marius Gavrilescu
54 This library is free software; you can redistribute it and/or modify
55 it under the same terms as Perl itself, either Perl version 5.18.2 or,
56 at your option, any later version of Perl 5 you may have available.
This page took 0.05001 seconds and 4 git commands to generate.