mhl / uk-ynmp-2015-winners

A trivial scraper to change the format of the elected candidates CSV file from YourNextMP in 2015

Scrapes candidates.democracyclub.org.uk

Democracy Club Candidates


Contributors mhl

Last run completed successfully .

Console output of last run

Injecting configuration and compiling...  -----> Python app detected -----> Installing python-2.7.12  $ pip install -r requirements.txt  Obtaining scraperwiki from git+http://github.com/openaustralia/scraperwiki-python.git@morph_defaults#egg=scraperwiki (from -r requirements.txt (line 6))  Cloning http://github.com/openaustralia/scraperwiki-python.git (to morph_defaults) to ./.heroku/src/scraperwiki  Collecting requests==2.7.0 (from -r requirements.txt (line 8))  Downloading requests-2.7.0-py2.py3-none-any.whl (470kB)  Collecting dumptruck>=0.1.2 (from scraperwiki->-r requirements.txt (line 6))  Downloading dumptruck-0.1.6.tar.gz  Installing collected packages: dumptruck, requests, scraperwiki  Running setup.py install for dumptruck: started  Running setup.py install for dumptruck: finished with status 'done'  Running setup.py develop for scraperwiki  Successfully installed dumptruck-0.1.6 requests-2.7.0 scraperwiki   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running...

Data

Downloaded 89 times by everypolitician mhl

To download data sign in with GitHub

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

rows 10 / 650

twitter image birth_date id linkedin facebook name wikipedia wikiname
SKinnock
1970-01-01
25297
Stephen Kinnock
Stephen Kinnock
GutoBebb
1968-10-09
24736
Guto Bebb
Guto Bebb
AbdnNorthKirsty
1986
25314
Kirsty Blackman
Kirsty Blackman
callum_mccaig
1985-01-06
25400
Callum McCaig
Callum McCaig
NeilGrayMP
25293
Neil Gray
Neil Gray
geraldhowarth
1947-09-12
10293
Gerald Howarth
Gerald Howarth
morton_wendy
25342
Wendy Morton
Wendy Morton
Graham__Brady
1967-05-20
10062
Graham Brady
Graham Brady
MarkTamiMP
1962-10-03
11267
Mark Tami
Mark Tami
24965
Nigel Mills
Nigel Mills %28politician%29

Statistics

Average successful run time: less than a minute

Total run time: about 1 hour

Total cpu time used: 10 minutes

Total disk space used: 204 KB

History

  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and failed .
    nothing changed in the database
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
  • Auto ran revision e27ee9d0 and completed successfully .
    nothing changed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    nothing changed in the database
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    nothing changed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    4 pages scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    2 pages scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    nothing changed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    nothing changed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    nothing changed in the database
    43 pages scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    nothing changed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    nothing changed in the database
  • Auto ran revision e27ee9d0 and completed successfully .
    nothing changed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    nothing changed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    nothing changed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    68 pages scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    nothing changed in the database
    673 pages scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    nothing changed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Auto ran revision e27ee9d0 and completed successfully .
    nothing changed in the database
    1 page scraped
  • Manually ran revision e27ee9d0 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Manually ran revision 17cd7643 and completed successfully .
    650 records added, 650 records removed in the database
    1 page scraped
  • Manually ran revision 17cd7643 and completed successfully .
    650 records added, 650 records removed in the database
    77 pages scraped
  • Manually ran revision 80cdd0bc and completed successfully .
    650 records added in the database
    1 page scraped
  • Manually ran revision 78bbf12e and failed .
    nothing changed in the database
  • Manually ran revision HEAD and failed .
    nothing changed in the database
  • Created on morph.io

Scraper code

Python

uk-ynmp-2015-winners / scraper.py