diff --git a/notify.pl b/notify.pl index 248577c..a984a7e 100755 --- a/notify.pl +++ b/notify.pl @@ -89,7 +89,7 @@ sub mailout { my $month = strftime("%m", localtime); my $response = HTTP::Tiny->new->get('https://openbsd.amsterdam/index.html'); - my $total_donated = $1 if $response->{'content'} =~ /([0-9,]+) donated to the OpenBSD/; + my $total_donated = $1 if $response->{'content'} =~ /([0-9,\.]+) donated to the OpenBSD/; my $total_vms = $1 if $response->{'content'} =~ /([0-9]+) VMs deployed/; $response = HTTP::Tiny->new->get('https://openbsd.amsterdam/servers.html'); my $total_hosts = () = $response->{'content'} =~ /(\>Server )/g;