Changes

Jump to navigation Jump to search
No change in size ,  10:31, 11 July 2015
no edit summary
Line 165: Line 165:  
$ua->agent('Mozilla/5.0');
 
$ua->agent('Mozilla/5.0');
 
$ua->timeout(30);
 
$ua->timeout(30);
#$ua->proxy('http','http://localhost:1080/');
+
#$ua->proxy('http','http://localhost:3128/');
 
my $request = new HTTP::Request('GET', $url);
 
my $request = new HTTP::Request('GET', $url);
 
my $response = $ua->request($request);
 
my $response = $ua->request($request);
Line 207: Line 207:  
$ua->agent('Mozilla/5.0');
 
$ua->agent('Mozilla/5.0');
 
$ua->timeout(30);
 
$ua->timeout(30);
# $ua->proxy('http','http://localhost:1080/');
+
# $ua->proxy('http','http://localhost:3128/');
 
my $request = new HTTP::Request('GET', $url);
 
my $request = new HTTP::Request('GET', $url);
 
my $response = $ua->request($request);
 
my $response = $ua->request($request);
Line 252: Line 252:  
$ua->agent('Mozilla/5.0');
 
$ua->agent('Mozilla/5.0');
 
$ua->timeout(30);
 
$ua->timeout(30);
#$ua->proxy('http','http://localhost:1080/');
+
#$ua->proxy('http','http://localhost:3128/');
 
my $request = new HTTP::Request('GET', $url);
 
my $request = new HTTP::Request('GET', $url);
 
my $response = $ua->request($request);
 
my $response = $ua->request($request);

Navigation menu