From 82e3bde392a79e276b9ac4e220c006eb1cc83e3a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 6 May 2011 11:00:59 +0200 Subject: Fake Useragent (pretend to be Firefox) --- bin/comirror-setup | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/comirror-setup') diff --git a/bin/comirror-setup b/bin/comirror-setup index 6bdbbe9..b9e1198 100755 --- a/bin/comirror-setup +++ b/bin/comirror-setup @@ -90,6 +90,7 @@ print 'Fetching pages'; for my $url (@ARGV) { push(@mechs, WWW::Mechanize->new( stackdepth => 0 )); + $mechs[-1]->agent_alias('Linux Mozilla'); $mechs[-1]->get($url); print q{.}; } -- cgit v1.2.3