Skip to content

Commit 1905409

Browse files
committed
Spoof as Firefox in Windows 10 instead of libwww (closes smfreegard#14 and probably others behind Cloudflare, and maybe smfreegard#9)
1 parent 3638cbc commit 1905409

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DecodeShortURLs.pm

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ sub new {
129129
$self->{ua}->{max_redirect} = 0;
130130
$self->{ua}->{timeout} = 5;
131131
$self->{ua}->env_proxy;
132+
$self->{ua}->agent('Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0');
132133
$self->{logging} = 0;
133134
$self->{caching} = 0;
134135
$self->{syslog} = 0;

0 commit comments

Comments
 (0)