fvasquezl / members_of_the_uk_parliament

Members of the UK Parliament

Scrapes www.parliament.uk

Parliament is made up of the House of Commons and House of Lords. It is responsible for making laws, deciding taxes and scrutinising the Government.


Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Traceback (most recent call last): File "scraper.py", line 10, in <module> table=root.cssselect("table")[1] # find the second table (0 is the first one) IndexError: list index out of range

Data

Downloaded 3 times by MikeRalphson simonw

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (163 KB) Use the API

rows 10 / 649

party constituency unique last first
LD
Eastleigh
Chris - Huhne-LD
Huhne
Chris
Lab
Hackney North and Stoke Newington
Diane - Abbott-Lab
Abbott
Diane
Lab
Oldham East and Saddleworth
Debbie - Abrahams-Lab
Abrahams
Debbie
Con
Selby and Ainsty
Nigel - Adams-Con
Adams
Nigel
Con
Windsor
Adam - Afriyie-Con
Afriyie
Adam
Lab
Coventry North East
Bob - Ainsworth-Lab
Ainsworth
Bob
Con
Waveney
Peter - Aldous-Con
Aldous
Peter
LD
Inverness, Nairn, Badenoch and Strathspey
Danny - Alexander-LD
Alexander
Danny
Lab
Paisley and Renfrewshire South
Douglas - Alexander-Lab
Alexander
Douglas
Lab
Lewisham East
Heidi - Alexander-Lab
Alexander
Heidi

Statistics

Total run time: less than 20 seconds

Total cpu time used: less than 5 seconds

Total disk space used: 183 KB

History

  • Manually ran revision 2029cc1c and failed .
    nothing changed in the database
    1 page scraped
  • Created on morph.io