Almost all the problems I have with this script are because I gave a station name wrong.
Try your query on the National Rail site and look at the station name given in the final results.
Example: "Brighton" works on the National Rail site, but doesn't work here. If you look at the results page, it shows it as "Brighton Station". Typing "Brighton Station" into NatRail solves the problem.
It's worth trying the other alternative train times site, traintimes.org.uk, which may be updated more quickly when the original web site changes.
If you have any problems, comments or patches, please contact the mailing list on firstname.lastname@example.org.
About | Problems | Contributors | Example command line output