CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate: Re: [limner] need help: program retrieving html: Edit Log


Feb 18, 2014, 2:02 PM

Views: 11306
Re: [limner] need help: program retrieving html


Its really difficult to definitively suggest what could be the cause of yours issues without knowing the URL you are trying to hit.

1) You are a bot. Perhaps try setting the agent to your own legitimate user agent:

2) It looks as though you are trying to provide URL parameters while instantiating a HTTP::Request object. From looking at the documentation, it doesn't look as though you can provide URL parameters in this way ( it accepts method, uri, header, content ). Append the parameters to the URL directly or by using the URI module / query_form method.

I advise testing your code on one of your own sites first to ensure it is working as expected, before attempting to adjust for another site, which may have restrictions in place.


(This post was edited by Zhris on Feb 18, 2014, 2:06 PM)

Edit Log:
Post edited by Zhris (Enthusiast) on Feb 18, 2014, 2:05 PM
Post edited by Zhris (Enthusiast) on Feb 18, 2014, 2:06 PM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives