Web scraping lottery results with Python in a cron job

Ing. Jan Jileček
Analytics Vidhya
Published in
6 min readSep 28, 2019

Goal

My goal is to get the latest czech lottery numbers (updated twice a day) and send them via SMS to a GSM cell number. I also want to automate this task to do it twice every day, so that is where cron comes in. All of this is going to be running on a Rasberry Pi.

Install the prerequisites

Ing. Jan Jileček
Analytics Vidhya

INTP, UE5 dev, Master’s degree in comp-sci, Creator, indie game developer, director, writer, photographer. I like BJJ, Jungian psychology, mythology and memes.