summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Status/DE')
-rw-r--r--lib/Travel/Status/DE/IRIS.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm
index 34f7fc4..eb4ae10 100644
--- a/lib/Travel/Status/DE/IRIS.pm
+++ b/lib/Travel/Status/DE/IRIS.pm
@@ -173,6 +173,8 @@ sub get_timetable {
my $res = $ua->get(
$dt->strftime( $self->{iris_base} . "/plan/${eva}/%y%m%d/%H" ) );
+ #say 'GET ' . $dt->strftime( $self->{iris_base} . "/plan/${eva}/%y%m%d/%H" );
+
if ( $res->is_error ) {
$self->{warnstr} = 'Failed to fetch a schedule part: Server returned '
. $res->status_line;
@@ -199,6 +201,8 @@ sub get_realtime {
my $eva = $self->{nodes}{station}->getAttribute('eva');
my $res = $self->{user_agent}->get( $self->{iris_base} . "/fchg/${eva}" );
+ #say 'GET ' . $self->{iris_base} . "/fchg/${eva}";
+
if ( $res->is_error ) {
$self->{warnstr} = 'Failed to fetch realtime data: Server returned '
. $res->status_line;