mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 17:39:49 +00:00
adapt to website changes
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@547 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
f5a92c67bd
commit
63b35c1bba
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ public final class BahnProvider extends AbstractHafasProvider
|
|||
, Pattern.DOTALL);
|
||||
private static final Pattern P_CONNECTIONS_COARSE = Pattern.compile("<tr><td class=\"overview timelink\">(.+?)</td></tr>", Pattern.DOTALL);
|
||||
private static final Pattern P_CONNECTIONS_FINE = Pattern.compile(".*?" //
|
||||
+ "<a href=\"(http://mobile.bahn.de/bin/mobil/query.exe/dox[^\"]*?)\">" // link
|
||||
+ "<a href=\"(http://mobile.bahn.de/bin/mobil/query2?.exe/dox[^\"]*?)\">" // link
|
||||
+ "(\\d{1,2}:\\d{2})<br />(\\d{1,2}:\\d{2})</a></td>.+?" // departureTime, arrivalTime
|
||||
+ "<td class=\"overview iphonepfeil\">(.*?)<br />.*?" // line
|
||||
, Pattern.DOTALL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue