Linux SoftwareProgrammingLibrariesScraperPOD 3.05

ScraperPOD 3.05


ScraperPOD is a framework for scraping results from search engines. SYNOPSIS use WWW::Scraper; # Name your Scraper module /
Developer:   Glenn Wood
      more software by author →
Price:  0.00
License:   GPL (GNU General Public License)
File size:   106K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


ScraperPOD is a framework for scraping results from search engines.

SYNOPSIS

use WWW::Scraper;

# Name your Scraper module / search engine as the first parameter,
use WWW::Scraper('eBay');
# or in the new() method
$scraper = new WWW::Scraper('eBay');

Classic WWW::Search mode

# Use a Scraper engine just as you would a WWW::Search engine.
$scraper = new WWW::Scraper('carsforsale', 'Honda', { 'lbxModel' => 'Accord', 'lbxVehicleYearFrom' => 1998 });
while ( $response = $scraper->next_result() ) {
# harvest results via hash-table reference.
print $scraper->{'sellerPhoneNumber'};
}

Canonical Request/Response mode (not yet implemented)

$scraper = new WWW::Scraper('carsforsale', 'Request' => 'Autos', 'Response' => 'Autos');
# or, since 'carsforsale.pm' defaults to the Request and Response classes of 'Autos'
$scraper = new WWW::Scraper('carsforsale');
#
# Set field values via field-named canonical access methods.
$scraper->scraperRequest->make('Honda');
$scraper->scraperRequest->model('Accord');
$scraper->scraperRequest->minYear(1998);
#
# Note: this is *not* next_result().
while ( $response = $scraper->next_response() ) {
#
# harvest results via field-named access methods.
print $response->sellerPhoneNumber();
}

Variant Requests to a single search engine

$scraper = new WWW::Scraper('carsforsale');
$scraper->scraperRequest->make('Honda');
$scraper->scraperRequest->minYear(1998);
#
for ( $model = ('Accord' 'Civic') ) {
$scraper->scraperRequest->model($model);
$response = $scraper->next_response() ) {
# all response fields are returned as a reference to the value.
print ${$response->sellerPhoneNumber()};
}

Single Request to variant search engines

# Set the request parameters in a Request object (sub-class 'Autos').
$request = new WWW::Scraper::Request('Autos');
$request->make('Honda');
$request->model('Accord');
$request->minYear(1998);
#
for ( $searchEngine = ('carsforsale' '1001cars') ) {
$scraper = new WWW::Scraper($searchEngine, 'Request' => $request);
for ( $response = $scraper->next_response() ) {
# all response fields are returned as a reference to the value.
print ${$response->sellerPhoneNumber()};

Requirements:
  • Perl
    tags www scraper  new www  scraper scraperrequest  scraper new  scraper next  scraper carsforsale  response scraper  search engine  minyear 1998  next response  response sellerphonenumber  model accord  make honda  

    Download ScraperPOD 3.05


     http://mirrors.evolva.ro/CPAN/authors/id/G/GL/GLENNWOOD/Scraper-3.05.tar.gz


    Authors software

    ScraperPOD 3.05 (by Glenn Wood)
    ScraperPOD is a framework for scraping results from search engines.

    SYNOPSIS

    use WWW::Scraper;

    # Name your Scraper module /

    WWW::Search::Scraper::NorthernLight 2.27 (by Glenn Wood)
    WWW::Search::Scraper::NorthernLight it scrapes NorthernLight.com.

    SYNOPSIS

    require WWW::Search::Scraper;
    $search = new

    WWW::Search::Scraper::FlipDog 2.27 (by Glenn Wood)

    WWW::Search::Scraper::Beaucoup 2.27 (by Glenn Wood)

    WWW::Search::Scraper::Brainpower 2.27 (by Glenn Wood)


    Similar software

    ScraperPOD 3.05 (by Glenn Wood)
    ScraperPOD is a framework for scraping results from search engines.

    SYNOPSIS

    use WWW::Scraper;

    # Name your Scraper module /

    WWW::Scraper::Brainpower 0.01 (by Glenn Wood)

    WWW::Scraper::FlipDog 0.01 (by Glenn Wood)

    WWW::Scraper::Beaucoup 3.05 (by Glenn Wood)

    WWW::Search::Scraper::Beaucoup 2.27 (by Glenn Wood)

    WWW::Search::Scraper::FlipDog 2.27 (by Glenn Wood)

    WWW::Search::Scraper::Brainpower 2.27 (by Glenn Wood)

    WWW::Scraper::NorthernLight 3.05 (by Glenn Wood)
    WWW::Scraper::NorthernLight it Scrapes NorthernLight.com.

    SYNOPSIS

    require WWW::Scraper;
    $search = new WWW::Scraper('N

    WWW::Scraper::BAJobs 0.01 (by Glenn Wood)
    WWW::Scraper::BAJobs it Scrapes BAJobs.com.

    SYNOPSIS

    require WWW::Scraper;
    $search = new WWW::Scraper('BAJobs');

    Th

    WWW::Search::Scraper::NorthernLight 2.27 (by Glenn Wood)
    WWW::Search::Scraper::NorthernLight it scrapes NorthernLight.com.

    SYNOPSIS

    require WWW::Search::Scraper;
    $search = new


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags