in reply to Help with LWP GET request
I can reproduce that it's not working:
Unquoted string "http" may clash with future reserved word at tmp.pl l +ine 2.
This is most likely because you are missing a starting single quote in line 2.
Maybe you want to elaborate further in what sense it is "not working".
In the end, no server can discern whether it's a browser+human or a well-crafted Perl script that sends the requests over the wire, so your goal is to mimic what the combination of browser+human sends over the wire with your Perl script. To do that, you need tools to compare what your browser sends against what your Perl script sends.
Here's my checklist of things to do while trying to scrape a website:
My current web scraping tools are WWW::Mechanize for navigation (with WWW::Mechanize::Shell for quick exploration) and Web::Scraper for data extraction.
Update: You changed your post to include a bit more of your code, but as you still don't tell us where and how it fails for you, and as it still contains the typo, that is of no more help than the previous content.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Help with LWP GET request
by mhearse (Chaplain) on Jun 11, 2008 at 09:03 UTC |