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