diff options
Diffstat (limited to 'Plugin')
-rw-r--r-- | Plugin/URL_Title.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugin/URL_Title.pm b/Plugin/URL_Title.pm index 4b85a02..451603a 100644 --- a/Plugin/URL_Title.pm +++ b/Plugin/URL_Title.pm @@ -78,7 +78,7 @@ sub get_title "Accept" => "text/html, image/svg+xml", "Acceot-Encoding" => "gzip" ); - my $http = HTTP::Tiny->new((default_headers => \%headers, timeout => 3)); + my $http = HTTP::Tiny->new((default_headers => \%headers, timeout => 3, agent => 'Mozilla/5.0 (compatible; idalius IRC bot)')); my $response = $http->get($url); |