3 ms·
Scraping state lottery website to determine if the daily lottery jackpot amount for a particular game is greater than my threshold to care enough to consider pu
by jrs235 9y ago
Scraping state lottery website to determine if the daily lottery jackpot amount for a particular game is greater than my threshold to care enough to consider purchasing a single ticket and sending me a text message in the morning if it is.
- deleted 9y ago[deleted]
- toomuchtodo 9y agoDoes your local lottery authority allow you to purchase tickets online? Could automate the entire workflow.
- jrs235 9y agoNo. I actually scrape two state lottery sites (I live on the border). One state used to allow online purchases but that got nixed due to the possibility of purchasing them while not truly in the state (which would be considered gambling across state lines which has federal laws and regulations).
- Larrikin 9y agoWould you mind sharing the code?
- jrs235 9y agoIt's a smorgasborg of code. I think it's running in azure on some web app services with scheduled jobs. I should clean it up a bit first. Also, I don't really want to compete with more people for the higher jackpots. ;)