From 173f74cec638adc21e92bc96403a15c0a76252de Mon Sep 17 00:00:00 2001 From: Denis Zheleztsov Date: Fri, 30 Jan 2015 09:21:35 +0300 Subject: [PATCH] Useragent --- II/Send.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/II/Send.pm b/II/Send.pm index 9dd3929..fe844ff 100644 --- a/II/Send.pm +++ b/II/Send.pm @@ -31,7 +31,7 @@ sub send { my $host = $config->{host}; my $auth = $config->{key}; $host .= "u/point"; - my $ua = LWP::UserAgent->new(); + my $ua = LWP::UserAgent->new(agent => 'Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'); my $response = $ua->post( $host, { 'pauth' => $auth, 'tmsg' => $base64 } );