WWW::Search::Antikvariat11CZ - Class for searching http://antikvariat11.cz .
use WWW::Search::Antikvariat11CZ; my $obj = WWW::Search->new('Antikvariat11CZ'); $obj->native_query($query); my $maintainer = $obj->maintainer; my $res_hr = $obj->next_result; my $version = $obj->version;
native_setup_search($query)
Setup.
native_retrieve_some()
Get data.
# Pragmas. use strict; use warnings; # Modules. use Data::Printer; use WWW::Search::Antikvariat11CZ; # Arguments. if (@ARGV < 1) { print STDERR "Usage: $0 match\n"; exit 1; } my $match = $ARGV[0]; # Object. my $obj = WWW::Search->new('Antikvariat11CZ'); $obj->maximum_to_retrieve(1); # Search. $obj->native_query($match); while (my $result_hr = $obj->next_result) { p $result_hr; } # Output: # Usage: /tmp/1Ytv23doz5 match # Output with 'Čapek' argument: # \ { # author "Karel Čapek", # category "Pohádky / Dětské", # detailed_link "http://antikvariat11.cz/kniha/capek-karel-devatero-pohadek-a-jeste-jedna-jako-privazek-od-josefa-capka-1977-319041", # illustrator "Čapek, Josef", # image "http://antikvariat11.cz/files/thumb_36885.png", # pages "242 s.", # price "55 Kč", # stay "Výborná originální vazba", # title "Devatero pohádek a ještě jedna jako přívažek od Josefa Čapka", # year_issued 1977 # }
HTTP::Cookies, LWP::UserAgent, Readonly, Web::Scraper, WWW::Search.
WWW::Search.
https://github.com/tupinek/WWW-Search-Antikvariat11CZ
Michal Špaček mailto:skim@cpan.org
http://skim.cz
BSD license.
0.01
To install WWW::Search::Antikvariat11CZ, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Search::Antikvariat11CZ
CPAN shell
perl -MCPAN -e shell install WWW::Search::Antikvariat11CZ
For more information on module installation, please visit the detailed CPAN module installation guide.