3 ms·
I once wrote a python script that went through the various ticket prices on the megabus website (which used simple GET queries in the url), to find out future d
by tpoacher 5y ago
I once wrote a python script that went through the various ticket prices on the megabus website (which used simple GET queries in the url), to find out future dates with cheap tickets.
It's the kind of thing that you could do by hand, but the website (intentionally?) made it a tedious and time-consuming clicking exercise to compare effectively.
They changed their API eventually, but I made decent use of the script for a couple of years.
To me it looks like the lind of script that, had it gotten traction, Megabus would have changed their interface a LOT sooner (and also I'd be competing with others over the cheap tickets!); so I kept it to myself.
- shmatt 5y agoJust checked my folder of scripts like these, its grown to 76 files The best part is, eventually you hit things like booking something as soon as it gets online. And it happens so fast you figure out there are multiple engineers out there, each with their own script, fighting it out