Project ID:
768877
Project Type:
Fixed
Budget:
$30-$250 USD
Project Description:
I need to use SOCKS5 proxy via Perl WWW::Mechanize module. This is very urgent project, I need it right now.
This is a very simple work for someone who has done it before.
I need a sample code which connects to socks proxy via WWW::Mechanize proxy() method and then gets some page through returned object.
PM me if know the solution. I would prefer to finalize this on skype ASAP.
Additional Project Description:
08/16/2010 at 17:53 EDT:
Important information: it must be easy to switch between proxies dynamically. So actually sample code should connect to 1 proxy, fetch page and do the same thing with another proxy.
08/16/2010 at 18:20 EDT:
For http(s) proxies it is as simple as:
my $m = WWW::Mechanize->new(autocheck => 1);
$m->agent_alias('some_agent');
$m->proxy('http', "http://$ip:$port");
$m->get('www.google.com');
I just need socks equivalent which actually works. All I need is few lines of code.
Skills required:
Perl