hemant.bhargava7 has asked for the wisdom of the Perl Monks concerning the following question:
So if anybody can tell me even an inch of hint .. Then i'll be very thankful .. Cheers ..!usr/bin/perl use strict; use LWP::UserAgent; use HTTP::Request; use HTTP::Response; use URI::Heuristic; use HTTP::Cookies; # Make an appropriate URL for you .. my $rawURL = shift or die "Pass an URL\n"; my $url = URI::Heuristic::uf_urlstr ($rawURL); $| = 1; printf "%s => \n", $url; my $ua = LWP::UserAgent->new(); my $req = POST 'http://www.justdial.com'; [ city => 'Bangalore', q => 'Bhargava' ]; my $content = $ua->request($req)->as_string; print $content;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Web Crawaling problem with JustDial
by roboticus (Chancellor) on Apr 20, 2009 at 12:26 UTC | |
by Anonymous Monk on Apr 20, 2009 at 12:39 UTC | |
by hemant.bhargava7 (Initiate) on Apr 20, 2009 at 12:50 UTC | |
by Anonymous Monk on Apr 20, 2009 at 12:57 UTC | |
| |
|
Re: Problem In Web Crawling ..
by przemo (Scribe) on Apr 21, 2009 at 14:44 UTC |