tmtmtmtm / somalia-parliament

Scrapes github.com and www.parliament.somaligov.net

Build software better, together.


This is a scraper that runs on Morph. To get started see the documentation

Contributors tmtmtmtm ondenman

Last run completed successfully .

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.11.2  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment  Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.  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.  Installing public_suffix 2.0.4  Installing coderay 1.1.0  Installing colorize 0.7.7  Installing safe_yaml 1.0.4  Installing excon 0.45.4  Installing execjs 2.5.2  Installing multipart-post 2.0.0  Installing fuzzy_match 2.1.0  Installing git 1.3.0  Installing hashdiff 0.3.1  Installing hashie 3.4.2  Installing httpclient 2.6.0.1  Installing method_source 0.8.2  Installing mini_portile 0.6.2  Installing open-uri-cached 0.0.5  Installing slop 3.6.0  Installing vcr 3.0.3  Installing sqlite3 1.3.10 with native extensions  Using bundler 1.11.2  Installing addressable 2.5.0  Installing crack 0.4.3  Installing faraday 0.9.1  Installing nokogiri 1.6.6.2 with native extensions  Installing pry 0.10.1  Installing sqlite_magic 0.0.3  Installing webmock 2.0.3  Installing faraday_middleware 0.10.0  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Installing vcr-archive 0.3.0  Installing wikidata-client 0.0.7  Installing scraped_page_archive 0.5.0  Bundle complete! 9 Gemfile dependencies, 31 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Post-install message from webmock:  WebMock 2.0 has some breaking changes. Please check the CHANGELOG: https://goo.gl/piDGLu  Bundle completed (36.87s)  Cleaning up the bundler cache.  Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running...

Data

Downloaded 21 times by everypolitician MikeRalphson Created4

To download data sign in with GitHub

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

rows 10 / 204

name party area term source
Bashiir Maxamed Jaamac
BEESHA SHANAAD
2012
Biibi Khaliif Maxamed
BEESHA SHANAAD
2012
Burci Maxamed Xamza
BEESHA SHANAAD
2012
C/raxmaan Cabdi Cusmaan
BEESHA SHANAAD
2012
C/weli Ibraahim Sheekh Muudey
BEESHA SHANAAD
2012
Caadil Sheegow Sagaar
BEESHA SHANAAD
2012
Cabdinaasir M.Cali
BEESHA SHANAAD
2012
Faarax Sheekh C/qaadir maxamed
BEESHA SHANAAD
2012
Fahmo Axmed Nuur
BEESHA SHANAAD
2012
Ibraahiim Saalax Dayfullah
BEESHA SHANAAD
2012

Statistics

Average successful run time: half a minute

Total run time: 40 minutes

Total cpu time used: 2 minutes

Total disk space used: 130 KB

History

  • Auto ran revision d6e3a6b6 and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision d6e3a6b6 and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision d6e3a6b6 and failed .
    nothing changed in the database
    2 pages scraped
  • Auto ran revision d6e3a6b6 and completed successfully .
    204 records added, 204 records removed in the database
    7 pages scraped
  • Auto ran revision d6e3a6b6 and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision d6e3a6b6 and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision d6e3a6b6 and completed successfully .
    204 records added, 204 records removed in the database
    1 page scraped
  • Auto ran revision d6e3a6b6 and completed successfully .
    204 records added, 204 records removed in the database
    525 pages scraped
  • Auto ran revision d6e3a6b6 and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision d6e3a6b6 and completed successfully .
    nothing changed in the database
  • Auto ran revision d6e3a6b6 and completed successfully .
    204 records added, 204 records removed in the database
  • Auto ran revision d6e3a6b6 and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
  • Auto ran revision 0b9f67fa and completed successfully .
    nothing changed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    9 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    nothing changed in the database
    6 pages scraped
  • Auto ran and failed .
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    699 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    8 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    nothing changed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    nothing changed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    nothing changed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    nothing changed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    nothing changed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    nothing changed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    43 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Auto ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Manually ran revision 0b9f67fa and completed successfully .
    204 records added, 204 records removed in the database
    6 pages scraped
  • Manually ran revision 67e6c389 and completed successfully .
    204 records added in the database
    1 page scraped
  • Manually ran revision 67e6c389 and completed successfully .
    204 records added, 204 records updated in the database
    1 page scraped
  • Auto ran revision 976fbb29 and completed successfully .
    204 records added, 204 records removed in the database
    1 page scraped
  • Auto ran revision 976fbb29 and completed successfully .
    204 records added, 204 records removed in the database
    1 page scraped
  • Auto ran revision 976fbb29 and completed successfully .
    204 records added, 204 records removed in the database
    1 page scraped
  • Auto ran revision 976fbb29 and completed successfully .
    204 records added, 204 records removed in the database
    1 page scraped
  • Auto ran revision 976fbb29 and completed successfully .
    204 records added, 204 records removed in the database
    1 page scraped
  • Auto ran revision 976fbb29 and completed successfully .
    204 records added, 204 records removed in the database
    1 page scraped
  • Auto ran revision 976fbb29 and completed successfully .
    204 records added, 204 records removed in the database
    1 page scraped
  • Auto ran revision 976fbb29 and completed successfully .
    204 records added, 204 records removed in the database
    1 page scraped
  • Manually ran revision 976fbb29 and completed successfully .
    204 records added, 204 records removed in the database
    1 page scraped
  • Manually ran revision 976fbb29 and completed successfully .
    204 records added in the database
    1 page scraped
  • Created on morph.io

Scraper code

Ruby

somalia-parliament / scraper.rb