diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-12-16 11:13:37 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-12-16 11:13:37 +0100 |
commit | 6bff81b2010b1c9efef8044a1ffa34c544a6f65b (patch) | |
tree | ca7fafa6000b5a063711acbc047815a8908a08ac /index.pl | |
parent | fba46348d7ac769042cef893e5baa98d97fe7444 (diff) |
is_important: Add .hl.n. (czech main station)
Diffstat (limited to 'index.pl')
-rw-r--r-- | index.pl | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |