Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Another one perl LWP question

by hippo (Bishop)
on Jul 03, 2015 at 11:39 UTC ( [id://1133071]=note: print w/replies, xml ) Need Help??


in reply to Another one perl LWP question

marto is right - you should be working with the site not against it. Otherwise you will get the proxy banned and then you'll have 2 lots of people annoyed with you and still no access.

but for the desired URL it doesnt work.

Well since you have not said in which way it "doesnt work" it's pretty much impossible to debug, wouldn't you agree?

Replies are listed 'Best First'.
Re^2: Another one perl LWP question
by m4merg (Initiate) on Jul 03, 2015 at 11:53 UTC

    Sorry for the lack of details, i've updated initial post</p?

      Great - so it's a connection timeout. On the assumption that this is what you also see when you explicitly don't use the proxy then the conclusion would be that you are still not using the proxy to access this URL, albeit accidentally.

      The suspicion must be that this line

      $ua->proxy(['https'], $proxy);

      should not have 'https' as the first argument since you are not trying to access an https URL. Why have you chosen 'https' here?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-03-28 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found