praveenzx has asked for the wisdom of the Perl Monks concerning the following question:
So far , I have written few codes to crawl data from websites using WWW::Mechanize module. I had a requirement to crawl data from http://www.etfsecurities.com/en/etfscalculations/etfsmsl.aspx?region=us but dont know whats happening. its just a simple GET request and its not working. Can someone guide me to solve this issue.
The error we got while running the script is , Error GETing http://www.etfsecurities.com/en/etfscalculations/etfsmsl.aspx?region=us: Internal Server Error at script.pl line 11#!/usr/bin/perl -w use strict; use WWW::Mechanize; use HTML::TreeBuilder; use Crypt::SSLeay; use Data::Dumper; my $mech =WWW::Mechanize->new(stack_depth=>12); $mech->agent_alias('Windows Mozilla'); $mech->get(qq{http://www.etfsecurities.com/en/etfscalculations/etfsmsl +.aspx?region=us}); print $mech->content(); exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Issue With WWW::Mechanize
by Anonymous Monk on May 15, 2012 at 05:49 UTC | |
by Anonymous Monk on May 15, 2012 at 10:47 UTC | |
by Corion (Patriarch) on May 15, 2012 at 10:51 UTC | |
by praveenzx (Novice) on May 23, 2012 at 04:54 UTC | |
|
Re: Issue With WWW::Mechanize
by praveenzx (Novice) on May 23, 2012 at 04:59 UTC |