FEAR::API #25 | FEAR::API - There's no fear with this elegant site scraper | Next >>

## Extraction

### Extract data from CPAN

    url("http://search.cpan.org/recent")->();
    submit_form(
            form_name => "f",
            fields => {
                       query => "perl"
                      });
    template("<!--item-->[% p %]<!--end item-->");
    extract;
    print Dumper extresult;

continued...

<< Previous | Index | Next >> | Copyright © 2006 Yung-chung Lin