Link to home
Start Free TrialLog in
Avatar of Ryan Gillespie
Ryan Gillespie

asked on

use a proxy to connect using $mech->get, called from an external list of proxies.

I have a large list of proxies in the same directory as my perl script, I would like to use a proxy from the list in my script, if it fails to connect it cycles to the next proxy and so on. How would i call this into my script from an external txt file. Is it possible?
Avatar of tel2
tel2
Flag of New Zealand image

Hi Ryan,

Your question is probably a bit vague to get answers at this stage.

If you supply your current script, and a few of these proxy files, someone might be able to work out exactly what you mean and what is required.

tel2
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.