Scripts: Updated URLs

This commit is contained in:
Paul Beckingham 2017-07-22 12:49:46 +01:00
parent 47cfc0b28b
commit cd2baebb2c

View file

@ -130,8 +130,8 @@ my $current = (localtime (time))[5] + 1900;
my $next = $current + 1;
# Construct the holidata.net URL.
my $url_current = "http://holidata.net/${locale}/${current}.json";
my $url_next = "http://holidata.net/${locale}/${next}.json";
my $url_current = "https://holidata.net/${locale}/${current}.json";
my $url_next = "https://holidata.net/${locale}/${next}.json";
# Fetch data for the current year.
my $data_current = get ($url_current);