tmtmtmtm / zimbabwe-parliament

Scrapes www.parlzim.gov.zw

Parliament of Zimbabwe - ISO 9001:2008 Certified Organisation. The Legislature consists of Parliament(National Assembly and Senate) and the President.


Contributors tmtmtmtm

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling...  -----> Ruby app detected -----> Compiling Ruby -----> Using Ruby version: ruby-2.0.0 -----> Installing dependencies using bundler 1.15.2  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment  Fetching gem metadata from https://rubygems.org/........  Fetching version metadata from https://rubygems.org/..  Fetching dependency metadata from https://rubygems.org/.  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Rubygems 2.0.14.1 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.  Using bundler 1.15.2  Fetching coderay 1.1.0  Installing coderay 1.1.0  Fetching colorize 0.7.7  Installing colorize 0.7.7  Fetching excon 0.45.4  Installing excon 0.45.4  Fetching execjs 2.5.2  Installing execjs 2.5.2  Fetching multipart-post 2.0.0  Installing multipart-post 2.0.0  Fetching fuzzy_match 2.1.0  Installing fuzzy_match 2.1.0  Fetching hashie 3.4.2  Installing hashie 3.4.2  Fetching httpclient 2.6.0.1  Installing httpclient 2.6.0.1  Fetching method_source 0.8.2  Installing method_source 0.8.2  Fetching mini_portile 0.6.2  Installing mini_portile 0.6.2  Fetching open-uri-cached 0.0.5  Installing open-uri-cached 0.0.5  Fetching slop 3.6.0  Installing slop 3.6.0  Fetching sqlite3 1.3.10  Installing sqlite3 1.3.10 with native extensions  Fetching faraday 0.9.1  Installing faraday 0.9.1  Fetching nokogiri 1.6.6.2  Installing nokogiri 1.6.6.2 with native extensions  Fetching pry 0.10.1  Installing pry 0.10.1  Fetching sqlite_magic 0.0.3  Installing sqlite_magic 0.0.3  Fetching faraday_middleware 0.10.0  Installing faraday_middleware 0.10.0  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Fetching wikidata-client 0.0.7  Installing wikidata-client 0.0.7  Bundle complete! 8 Gemfile dependencies, 21 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (18.75s)  Cleaning up the bundler cache. -----> Installing node-v6.11.1-linux-x64 -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... http://www.parlzim.gov.zw/senators-members/members http://www.parlzim.gov.zw/senators-members/members: 404 Category not found scraper.rb:30:in `scrape_list': undefined method `css' for nil:NilClass (NoMethodError) from scraper.rb:69:in `<main>'

Data

Downloaded 819 times by everypolitician chrismytton MikeRalphson wfdd Created4

To download data sign in with GitHub

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

rows 10 / 124

id name image party area house source gender email address home_address cell phone
teti-banda
Teti Banda
MDC
Harare
assembly
female
bandateti@yahoo.com
0772 742 027/ 0713 652 688
nyamayabo-mashavakure
Nyamayabo Mashavakure
Other
N/A
senate
tafanana-zhou
Tafanana Zhou
Zanu-PF
Mberengwa North
assembly
ronia-bunijra
Ronia Bunijra
MDC
N/A
assembly
female
2226 Mainway Meadows, Waterfalls, Harare
paradzai-mutandwa-chakona
Paradzai Mutandwa Chakona
Zanu-PF
Zaka Central
assembly
male
pchakona@glotella.co.zw
9581 Cary Street Rhodene, Masvingo
david-chapfika
David Chapfika
Zanu-PF
Mutoko South
assembly
male
chapfikadvd@gmail.com
P.O Box HG 288, Highlands, Harare
0732472229 / 0712400502 / (04) 369870-2
amos-chibaya
Amos Chibaya
MDC
Mkoba
assembly
male
amos.chibaya@gmail.com
416 Mkoba 13 Gweru
0772 271 329
leonard-chikomba
Leonard Chikomba
Zanu-PF
Gokwe Kabuyana
assembly
male
edmorechikomba@gmail.com
Chikomba s/dealers ,Chitekete centre, P.Bag 879 Gokwe.
0772 659 471
esther-chikuni
Esther Chikuni
Zanu-PF
Chimanimani West
assembly
female
Nhedziwe Growth Point, Box 17
0774387925
nyasha-eunice-annie-grace-chikwinya
Nyasha Eunice Annie Grace Chikwinya
Zanu-PF
Mutare South
assembly
female
nchikwinyah@gmail.com
c/o no. 2 Droitwich Ave, Northwood Mt Pleasant Harare
0772 766 754. 0715 515 800

Statistics

Average successful run time: 3 minutes

Total run time: about 20 hours

Total cpu time used: 27 minutes

Total disk space used: 75.5 KB

History

  • Auto ran revision b0f90957 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision b0f90957 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision b0f90957 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision b0f90957 and failed .
    nothing changed in the database
    2 pages scraped
  • Auto ran revision b0f90957 and failed .
    nothing changed in the database
    1 page scraped
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

zimbabwe-parliament / scraper.rb