diff options
-rwxr-xr-x | utils/rhrd-schedules | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/rhrd-schedules b/utils/rhrd-schedules index 7cc3194..123302c 100755 --- a/utils/rhrd-schedules +++ b/utils/rhrd-schedules @@ -37,7 +37,7 @@ sub generate { my ($ctx, $year, $month, $day) = @_; - my ($ret, $data) = RHRD::utils::fetch_parse_json("https://pv.helsinki.at/export/day_schedule/$year/$month/$day", "rhrd-schedules"); + my ($ret, $data) = RHRD::utils::fetch_parse_json("https://pv.helsinki.at/export/day_schedule/$year/$month/$day/", "rhrd-schedules"); if(!$ret) { print STDERR "Error fetching export from PV: $data\n"; return 1; @@ -92,9 +92,9 @@ sub show__day { my ($ctx, $year, $month, $day) = @_; - print "https://pv.helsinki.at/export/day_schedule/$year/$month/$day\n"; + print "https://pv.helsinki.at/export/day_schedule/$year/$month/$day/\n"; - my ($ret, $data) = RHRD::utils::fetch_parse_json("https://pv.helsinki.at/export/day_schedule/$year/$month/$day", "rhrd-schedules"); + my ($ret, $data) = RHRD::utils::fetch_parse_json("https://pv.helsinki.at/export/day_schedule/$year/$month/$day/", "rhrd-schedules"); if(!$ret) { print STDERR "Error fetching export from PV: $data\n"; return 1; |