aboutsummaryrefslogtreecommitdiff
path: root/template/perl/snip-web-scraper.pl
blob: 6b93104931605eef7c2d1e9827cf4f4e851734a5 (plain)
1
2
3
4
5
6
7
8
9
10
my $scraper = scraper {
	process '{{_cursor_}}', 'data' => 'TEXT';
	result 'data';
};
$scraper->user_agent->env_proxy;

#use YAML::Syck;
#for (@{$scraper->scrape( URI->new('') )}) {
#	print $_->{data}, "\n";
#}