Help for this page

Select Code to Download


  1. or download this
    $yahoo_headlines = {
        starting_page  => 'www.yahoo.com/foo/',
        some_regex     => qr/foo(.*?)bar/,
        html_tree_spec => [ '_tag', 'div', 'id', 'headlines' ]
      }
    
  2. or download this
    use Scraper;
    use Scraper::Library qw( $yahoo );
    scrape( $yahoo );