From 6bff81b2010b1c9efef8044a1ffa34c544a6f65b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 16 Dec 2018 11:13:37 +0100 Subject: is_important: Add .hl.n. (czech main station) --- index.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'index.pl') diff --git a/index.pl b/index.pl index d7e3f9c..c3da8c7 100644 --- a/index.pl +++ b/index.pl @@ -231,7 +231,10 @@ helper 'handle_no_results_json' => sub { helper 'is_important' => sub { my ( $self, $stop ) = @_; - if ( $stop =~ m{ HB $ | Hbf | Centraal | Flughafen }x ) { + # Centraal: dutch main station (Hbf in .nl) + # HB: swiss main station (Hbf in .ch) + # hl.n.: czech main station (Hbf in .cz) + if ( $stop =~ m{ HB $ | hl\.n\. $ | Hbf | Centraal | Flughafen }x ) { return 1; } return; -- cgit v1.2.3