Perl Monk, Perl Meditation | |
PerlMonks |
Retrieving web pages with the LWP::UserAgentby mrguy123 (Hermit) |
on Sep 06, 2006 at 13:08 UTC ( [id://571448]=perlquestion: print w/replies, xml ) | Need Help?? |
mrguy123 has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks I am trying to retrieve a certain web page with search results with the LWP::UserAgent. I took the URL query from this web site after conducting a search for cats and changing the form from POST to GET, using Firefox. This is the code: However, when I run this program, instead of getting the search results, I get the search page. Usually when this happens it is because of a cookie, but I couldn't find any cookies in this site. Does anybody know what the problem might be, and how I can solve it by retrieving the search results page? Much obliged Guy Naamati "A truth that's told with bad intent beats all then lies you can invent"
Back to
Seekers of Perl Wisdom
|
|