Group
Extension

Matches 1

WWW-Scraper-ISBN-Waterstones_Driver ( B/BA/BARBIE/WWW-Scraper-ISBN-Waterstones_Driver-0.09.tar.gz, BARBIE, 2019; MetaCPAN )
WWW-Scraper-ISBN-Waterstones_Driver/lib/WWW/Scraper/ISBN/Waterstones_Driver.pm ( view source; MetaCPAN )
##############################################################
# Modules

use WWW::Mechanize;
use JSON::XS;

###########################################################################
# Constants

us
si;
    my ($json)             = $html =~ m!<script>\s*ws_dl = \[(.*?)\]\s*</script>!si;
#print STDERR "\n# json=[\n$json\n]\n";

    if($json) {
        $data->{json} = decode_json( $json );
        
for(qw(author title imprint publication_date format)) {
            $data->{$_} = $data->{json}{'gtm-books'}[0]{$_};
        }

        $data->{binding} ||= $data->{format};
        $data->{pubdate} |

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.