It is a simple web scrapper which gets Election result data from ECI official site.
As of now it can display only Karnataka 2018 Assembly Election results, it should be made generic to work with any ECI results.
pip install BeautifulSoup4
pip install lxml
python parse.py
- Dump as JSON/XML result
- Print all candidates info instead of just a winner and trailer
- Few more statistics :)