FakeBus examples
- FakeBusSimple.com Simple version
- stops&routes: Form without JS (can get stops and routes, easily)
- redirect: Deeplink made with POST parameters to /result (but can also be called using GET, as
here the server read both).
- fetch : same url as deeplink (no ajax call). parse: Data displayed using HTML directly. But we can see
in the source code also contains json which is easier to parse
- FakeBusCookie.com Class ClientFakeBus
- stops&routes: Form without JS (can get stops. But cannot get routes as departure stops and arrival stops
are same list : it's possible de have Paris → Paris and we can see it in the source code)
- redirect: before the redirection, a session need to be created with parameters calling /init.
This is a rare case, but
can be done creating a pixel before redirecting towards /results page
- fetch : same url as deeplink. But here the session is not created on the user browser but in php :
curl call first /init to create the session then /results . parse: Data displayed using
JS. Data are not
fetched via AJAX, but directly included in the source code
- FakeBusApi.com
- stops&routes: Form with using JS and ajax calls (get stops calling /stops.json; get routes
calling for each stop stops.json?dep=[DEP_STOP_CODE]
- redirect: POST url /result
- fetch : An API is called via AJAX to get trips (datasource != deeplink). parse: API returns JSON