Hacker News new | ask | show | jobs
by cranekam 2189 days ago
Another +1 for Selenium. I used it to bag tickets for a show I wanted to see. The seller’s site was terrible and apparently had no protection against ticket spinners so all 5,000 tickets sold out in minutes. Fortunately their resale site also had no protection at all so it was easy to write something to reload the page often and put tickets into my shopping cart as soon as they became available. When that happened it notified me and handed back control for me to enter the credit card details (I was too lazy to automate it all). I’m not proud of this brute force approach but if the reseller’s site wasn’t so awful to start with it wouldn’t be necessary.