diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-06-23 16:32:58 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-06-23 16:32:58 +0200 |
commit | ad347a84877a8c9a11ac7763159eb371178be2f3 (patch) | |
tree | 626a404fc6ddfc10555c02d401981c5dab4e6af5 /lib/Travel/Status | |
parent | 5223d56e6e47695ef9d37591b704fbd8cff35293 (diff) |
Change POST URL (we're not using the mobile version anyways)
Diffstat (limited to 'lib/Travel/Status')
-rw-r--r-- | lib/Travel/Status/DE/DeutscheBahn.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm index 748184c..55b82dd 100644 --- a/lib/Travel/Status/DE/DeutscheBahn.pm +++ b/lib/Travel/Status/DE/DeutscheBahn.pm @@ -40,7 +40,7 @@ sub new { }; $ref->{html} - = $ua->post( 'http://mobile.bahn.de/bin/mobil/bhftafel.exe/dn?rt=1', + = $ua->post( 'http://reiseauskunft.bahn.de/bin/bhftafel.exe/dn?rt=1', $ref->{post} )->content(); $ref->{tree} = XML::LibXML->load_html( @@ -176,7 +176,7 @@ version 0.0 Travel::Status::DE::DeutscheBahn is an interface to the DeutscheBahn arrival/departure monitor available at -L<http://mobile.bahn.de/bin/mobil/bhftafel.exe/dn?rt=1>. +L<http://reiseauskunft.bahn.de/bin/bhftafel.exe/dn>. It takes a station name and (optional) date and time and reports all departures at that station starting at the specified point in time (now if |