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.


This scraper scrapes the members of UK Parliament – it is very simple and made as an instruction piece for schoolofdata.org

Forked from ScraperWiki

Contributors DrJosepon

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 danishthanvi1 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
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: 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
  • Forked from ScraperWiki