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;
In reply to Issue With WWW::Mechanize by praveenzx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |