NAME

Web::Scraper - Web Scraping Toolkit inspired by Scrapi

SYNOPSIS

use URI;
use Web::Scraper;

my $ebay_auction = scraper {
    process "h3.ens>a",
        description => 'TEXT',
        url => '@href';
    process "td.ebcPr>span", price => "TEXT";
    process "div.ebPicture >a>img", image => '@src';
};

my $ebay = scraper {
    process "table.ebItemlist tr.single",
        "auctions[]" => $ebay_auction;
    result 'auctions';
};

my $res = $ebay->scrape( URI->new("http://search.ebay.com/apple-ipod-nano_W0QQssPageNameZWLRS") );

DESCRIPTION

Web::Scraper is a web scraper toolkit, inspired by Ruby's equivalent Scrapi.

THIS MODULE IS IN ITS BETA QUALITY. THE API IS STOLEN FROM SCRAPI BUT MAY CHANGE IN THE FUTURE

AUTHOR

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

http://blog.labnotes.org/category/scrapi/