mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-13 16:20:34 +00:00
adapt to API change
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@738 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
32b3ca46b7
commit
24da6ec2e9
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ public class ShProvider extends AbstractHafasProvider
|
||||||
private static final Pattern P_DEPARTURES_COARSE = Pattern.compile("<tr class=\"(depboard-\\w*)\">(.*?)</tr>", Pattern.DOTALL);
|
private static final Pattern P_DEPARTURES_COARSE = Pattern.compile("<tr class=\"(depboard-\\w*)\">(.*?)</tr>", Pattern.DOTALL);
|
||||||
private static final Pattern P_DEPARTURES_FINE = Pattern.compile("\n" //
|
private static final Pattern P_DEPARTURES_FINE = Pattern.compile("\n" //
|
||||||
+ "<td class=\"time\">(\\d{1,2}:\\d{2}).*?" // plannedTime
|
+ "<td class=\"time\">(\\d{1,2}:\\d{2}).*?" // plannedTime
|
||||||
+ "<img class=\"product\" src=\"/hafas-res/img/products/(\\w+)_pic\\.png\"[^>]*>\\s*([^<]*)<.*?" // type,line
|
+ "<img class=\"product\" src=\"/hafas-res/[^\"]*?(\\w+)_pic\\.png\"[^>]*>\\s*([^<]*)<.*?" // type,line
|
||||||
+ "<a href=\"http://nah\\.sh\\.hafas\\.de/bin/stboard\\.exe/dn\\?input=(\\d+)&[^>]*>\n" // destinationId
|
+ "<a href=\"http://nah\\.sh\\.hafas\\.de/bin/stboard\\.exe/dn\\?input=(\\d+)&[^>]*>\n" // destinationId
|
||||||
+ "([^\n]*)\n.*?" // destination
|
+ "([^\n]*)\n.*?" // destination
|
||||||
+ "(?:<td class=\"center sepline top\">\n(" + ParserUtils.P_PLATFORM + ").*?)?" // position
|
+ "(?:<td class=\"center sepline top\">\n(" + ParserUtils.P_PLATFORM + ").*?)?" // position
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue