DrJosepon / 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 22, in <module> (first,party)=first_party.split(" (") # seperat last name and party (seperated by ' (') ValueError: too many values to unpack

Data

Downloaded 2 times by backgroundcheck MikeRalphson

To download data sign in with GitHub

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

rows 10 / 666

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: 2 minutes

Total cpu time used: less than 10 seconds

Total disk space used: 245 KB

History

  • Manually ran revision 7a20ed06 and failed .
    17 records added in the database
    1 page scraped
  • Manually ran revision e462bc0b and failed .
    nothing changed in the database
    1 page scraped
  • Manually ran revision e462bc0b and failed .
    nothing changed in the database
    1 page scraped
  • Manually ran revision e462bc0b and failed .
    nothing changed in the database
    1 page scraped
  • Created on morph.io