Thanks for your immediate reply marto. I already worked with scrappy module. I can able to get the content when scrapping a website. My question is in the latest version of scrappy
use Scrappy;
my $scraper = Scrappy->new;
$scraper->crawl('http://search.cpan.org/recent',
'/recent' => {
'#cpansearch li a' => sub {
print $_[1]->{href}, "\n";
}
}
);
you can find that this the url 'http://search.cpan.org/recent' means we need to give the 'recent' tag. it is working only for this cpan site. And it is not working for other sites. That is my question. How we could use the tags and get scrape a website. Can you able to understand.