[iRail] API Liveboards - scraper failure due to new mobile railtime website

Ludovic Gasc gmludo at gmail.com
Mon Aug 29 22:56:15 UTC 2011


Hi,

As discussed on the IRC channel, this is a patch to fix this problem:
https://github.com/iRail/iRail/pull/15

Thanks for your remarks.

Yours.

PS: It's my first patch for iRail, please to be indulgent with me ;-)

On Sun, Aug 28, 2011 at 11:25 PM, Pieter Colpaert
<pieter.colpaert at gmail.com> wrote:
> Hi list,
>
> Today the guys from railtime launched a new website: m.railtime.be.
> Without notifying us (although we asked DUO, infrabel and NMBS to do
> so). Of course, our liveboard API which still scrapes this site was
> broken.
>
> Quentin made a quick fix for it and partially rewrote the scraper. A lot
> of code was reusable although they changed they way you ask for a
> specific station. Now you have to give the perfect railtime name AND the
> perfect railtime id. As we have those in our database we could quickly
> fix this as well. Why they did this? No idea.
>
> If anything is still not functioning correctly, please wait notifying
> Quentin and me after Wednesday, when both of our examinations are
> finished ;)
>
> Of course, the api is still at:
> http://api.irail.be/liveboard/?station=brussel%
> 20centraal&lang=nl&format=json
>
> Kind regards,
>
> Pieter
>
>
> --
> iRail vzw/asbl
> +32 (0) 486/747122
>
> _______________________________________________
> iRail mailing list
> iRail at list.irail.be
> http://lists.rootspirit.com/mailman/listinfo/irail
>



-- 
Ludovic Gasc



More information about the iRail mailing list