Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
HTTP Scriptingby marinersk (Priest) |
on Nov 29, 2002 at 02:21 UTC ( [id://216406]=perlquestion: print w/replies, xml ) | Need Help?? |
marinersk has asked for the wisdom of the Perl Monks concerning the following question:
I've probably used the wrong terminology, highlighting the level of non-adeptship in my possession regarding network programming.
I'm trying to learn how to write a web parser or scripter. This would be something which can go to a web site, scan (or "scrape", as we used to call it in the old days) through the data that comes back for keywords and so on, parse for HREF links for the options necessary to accomplish things in a scripted manner that otherwise have to be done by hand. Problem is, I haven't a clue where to begin, and poking around sites for HTML, HTTP and SOCKET keywords don't seem to be helping because waaay too much stuff qualifies for such general terms. Can someone either point me at a good tutorial, basic info on how this is done, or provide a code snippet to demonstrate the use of some Perl module to accomplish this? I have no problems with digging through the documentation to learn how to do this myself, but I can't even seem to find the right library, much less the right reference manual. Thanks for taking the time to read this. _______________
Back to
Seekers of Perl Wisdom
|
|