Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^5: Web Scraping on CGI Scripts?

by Corion (Pope)
on Oct 10, 2011 at 09:34 UTC ( #930567=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Web Scraping on CGI Scripts?
in thread Web Scraping on CGI Scripts?

Most likely whatever browser you use to "save the HTML" reformats the data it receives. Go look at what data exactly Web::Scraper sees, maybe using curl or wget or LWP::Simple::get, and work from that instead of data that was changed by the browser.

Also learn the difference between "HTML" and "CGI", and learn why it does not apply. It seems to me that by "HTML" you mean "data retrieved from locally saved files", and by "CGI" you mean "data retrieved online over HTTP". You should change the terms you use appropriately.


Comment on Re^5: Web Scraping on CGI Scripts?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://930567]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-08-22 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (153 votes), past polls