Dear monks,
I have posted the question day before. I am getting error in https. Now, i have installed SSL and Crypt-SSLeay. I have given the correct username and password and enter, but, i can extract only initial page. I have to extract page after login. Please modify the code and help me. I am trying for long time.
Thanks in advance.
use LWP; use HTTP::Request::Common; use HTTP::Cookies; my $agent=LWP::UserAgent-> new; $agent-> cookie_jar(HTTP::Cookies->new); $url="https://adwords.google.com/select/TrafficEstimatorSandbox"; $request=POST ($url, Content=> ["login.userid "=>"xxx", "login.passwor +d"=> "xxx"]); $response=$agent-> request($request); print "$response-> code\n"; $response-> is_success or die " $response->message \n"; print $response-> content;
In reply to Advice me in https Extraction code by gube
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |