#!/usr/bin/perl -w use strict; use WWW::Mechanize; my $mech = WWW::Mechanize->new; my $url = "http://www.vegasinsider.com/nfl/odds/las-vegas/line-movemen +t/jets-@-dolphins.cfm/date/9-07-08/"; $mech->get($url) or die "Can't get url"; my $data = $mech->content(); print $data;
Updated: Works for me just fine. I get a file not found page. Seems to work just fine when using single quotes though. The @ sign is being interpreted as an array in the link and therefore interpolated.
I'm so adjective, I verb nouns!
chomp; # nom nom nom
In reply to Re: Anyone know why I can't scrape this page?
by Lawliet
in thread Anyone know why I can't scrape this page?
by lv211
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |