everypolitician-scrapers / vanuatu-parliament

Scrapes github.com and parliament.gov.vu

Build software better, together.


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

Contributors tmtmtmtm octopusinvitro

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/everypolitician/scraped_page_archive  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  Using scraped_page_archive 0.5.0 from https://github.com/everypolitician/scraped_page_archive (at master@28f93d7)  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 (21.40s)  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 45 times by everypolitician octopusinvitro

To download data sign in with GitHub

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

rows 10 / 52

Statistics

Average successful run time: 4 minutes

Total run time: about 4 hours

Total cpu time used: about 1 hour

Total disk space used: 3.44 MB

History

  • Auto ran revision ed00d422 and completed successfully .
    52 records added, 52 records removed in the database
    150 pages scraped
  • Auto ran revision ed00d422 and completed successfully .
    52 records added, 52 records removed in the database
    150 pages scraped
  • Auto ran revision ed00d422 and completed successfully .
    52 records added, 52 records removed in the database
    150 pages scraped
  • Auto ran revision ed00d422 and completed successfully .
    52 records added, 52 records removed in the database
    150 pages scraped
  • Auto ran revision ed00d422 and completed successfully .
    nothing changed in the database
  • Auto ran revision ed00d422 and completed successfully .
    nothing changed in the database
  • Manually ran revision ed00d422 and completed successfully .
    nothing changed in the database
    150 pages scraped
  • Auto ran revision ed00d422 and failed .
    22 records added, 22 records removed in the database
    62 pages scraped
  • Auto ran revision ed00d422 and completed successfully .
    52 records added, 52 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    52 records added, 52 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    52 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and failed .
    nothing changed in the database
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran and failed .
  • Auto ran revision f68643c6 and completed successfully .
    nothing changed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
  • Auto ran revision f68643c6 and completed successfully .
    nothing changed in the database
  • Auto ran revision f68643c6 and completed successfully .
    nothing changed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    nothing changed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    nothing changed in the database
    6 pages scraped
  • Auto ran revision f68643c6 and failed .
    nothing changed in the database
    2 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Auto ran revision f68643c6 and completed successfully .
    51 records added, 51 records removed in the database
    150 pages scraped
  • Manually ran revision f68643c6 and completed successfully .
    51 records added in the database
    150 pages scraped
  • Manually ran revision f68643c6 and failed .
    22 records added, 22 records removed in the database
    67 pages scraped
  • Manually ran revision f68643c6 and completed successfully .
    51 records added in the database
    37 pages scraped
  • Created on morph.io

Scraper code

Ruby

vanuatu-parliament / scraper.rb