Lottery Results scrapper.
Lotteries and data sources in config.py
.
Saves results into JSON
file or to MySQL BD
(disabled by default).
Note: results are storing for all times so using of JSON file is not good idea. It is just for demonstration.
For production please use DB.
Sends notification to Telegram. See ./lib/simple_telegram.py how to setup it.
In Python. Uses BeautifulSoup and simple Pymysql wrapper.
https://github.com/sergeymusenko/lottery_results
If you see Errors
in report: probably data source markup changed or sourse URL not responding any more.
If you see Warnings
in report: probably data source is ok but it still not having required draws date. Try later.
Lotteries:
Hoosier Lotto
Kenya Lotto
Philippines Lotto 6/42
Philippines Megalotto 6/45
Philippines UltraLotto 6/58
Philippines SuperLotto 6/49
Philippines GrandLotto 6/55
Hong Kong Mark 6
Japan Lotto 6
Taiwan Lotto 6/49
UK 49s
Sportloto 7/49
Baba Ijebu Bingo
Baba Ijebu Enugu
Baba Ijebu International
Baba Ijebu Lucky
Baba Ijebu Peoples
Tatua 3
Maroc Loto
Canada Lotto Max
Malawi Lotto
Installation:
pip install bs4
pip install pymysql