Created
October 2, 2009 07:59
-
-
Save nipotan/199544 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use Web::Scraper; | |
use URI; | |
my $website = scraper { | |
process 'div#profile > address > ul > li > a', url => '@href'; | |
result 'url'; | |
}; | |
my $res = $website->scrape(URI->new('http://twitter.com/foo_bar_baz')); | |
warn $res->as_string if $res; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment