Small python script to scrape 2017 UK election results from BBCs website
Find a file
2017-06-14 02:07:24 +01:00
get.py Initial Commit 2017-06-09 15:18:26 +01:00
README.md Create README.md 2017-06-14 02:07:24 +01:00

UK2017

An awful messy hack to scrape BBCs website for UK 2017 election results

Created quickly to read the UK election results from BBCs (incredibly heavy) website and output a small text file that I can load on mobile data :)
See output at loki.sockspls.com/2017

Update: Doesn't work anymore the page it scrapes is down I think; it looked like this

+---------------------------+-------+
|           Party           | Seats |
+---------------------------+-------+
|        Conservative       |  225  |
|           Labour          |  222  |
|  Scottish National Party  |   31  |
|      Liberal Democrat     |   10  |
| Democratic Unionist Party |   10  |
|           Others          |   11  |
+---------------------------+-------+