Contributors chrismytton

Last run completed successfully .

Console output of last run

Injecting configuration and compiling...  -----> Ruby app detected -----> Compiling Ruby -----> Using Ruby version: ruby-2.3.4 -----> 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 https://github.com/everypolitician/open-uri-cached-archive.git  Fetching https://github.com/everypolitician/scraped.git  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Fetching public_suffix 2.0.4  Using bundler 1.15.2  Fetching coderay 1.1.1  Fetching safe_yaml 1.0.4  Installing safe_yaml 1.0.4  Installing coderay 1.1.1  Installing public_suffix 2.0.4  Fetching field_serializer 0.2.0  Fetching git 1.3.0  Installing field_serializer 0.2.0  Fetching hashdiff 0.3.1  Installing git 1.3.0  Fetching httpclient 2.8.2.4  Installing hashdiff 0.3.1  Fetching method_source 0.8.2  Fetching mini_portile2 2.1.0  Installing method_source 0.8.2  Installing mini_portile2 2.1.0  Using open-uri-cached-archive 0.1.0 from https://github.com/everypolitician/open-uri-cached-archive.git (at master@5d49383)  Fetching slop 3.6.0  Installing httpclient 2.8.2.4  Fetching require_all 1.3.3  Installing slop 3.6.0  Fetching vcr 3.0.3  Installing require_all 1.3.3  Fetching sqlite3 1.3.12  Installing vcr 3.0.3  Fetching crack 0.4.3  Installing sqlite3 1.3.12 with native extensions  Fetching addressable 2.5.0  Installing addressable 2.5.0  Fetching nokogiri 1.6.8.1  Installing crack 0.4.3  Fetching pry 0.10.4  Installing nokogiri 1.6.8.1 with native extensions  Installing pry 0.10.4  Fetching webmock 2.0.3  Installing webmock 2.0.3  Fetching vcr-archive 0.3.0  Installing vcr-archive 0.3.0  Fetching scraped_page_archive 0.5.0  Installing scraped_page_archive 0.5.0  Fetching sqlite_magic 0.0.6  Installing sqlite_magic 0.0.6  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Using scraped 0.1.0 from https://github.com/everypolitician/scraped.git (at add-support-for-fragments@8228984)  Bundle complete! 5 Gemfile dependencies, 25 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 (17.50s)  Cleaning up the bundler cache. -----> Detecting rake tasks   ###### WARNING:  You have not declared a Ruby version in your Gemfile.  To set your Ruby version add this line to your Gemfile:  ruby '2.3.4'  # See https://devcenter.heroku.com/articles/ruby-versions for more information.   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... {:image=>"http://www.senate.gov.ph/senators/images/sotto17th.jpg", :name=>"Vicente C. Sotto III", :post=>"Senate President"} {:image=>"http://www.senate.gov.ph/senators/images/recto17th.jpg", :name=>"Ralph G. Recto", :post=>"Senate President Pro-Tempore"} {:image=>"http://www.senate.gov.ph/senators/images/zubiri17th.jpg", :name=>"Juan Miguel \"Migz\" F. Zubiri", :post=>"Majority Leader"} {:image=>"http://www.senate.gov.ph/senators/images/drilon17th.jpg", :name=>"Franklin M. Drilon", :post=>"Minority Leader"} {:image=>"http://www.senate.gov.ph/senators/images/angara_sonny17th.jpg", :name=>"Sonny M. Angara", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/aquino_bam17th.jpg", :name=>"Paolo Benigno Aquino IV", :post=>"Assistant Minority Leader"} {:image=>"http://www.senate.gov.ph/senators/images/binay_nancy17th.jpg", :name=>"Maria Lourdes Nancy Sombillo Binay", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/cayetano_alan17th.jpg", :name=>"Alan Peter \"Compañero\" S. Cayetano*", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/delima17th.jpg", :name=>"Leila De Lima", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/ejercito_jv17th.jpg", :name=>"Joseph Victor G. Ejercito", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/escudero17th.jpg", :name=>"Francis “Chiz” G. Escudero", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/gatchalian17th.jpg", :name=>"Sherwin Gatchalian", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/gordon17th.jpg", :name=>"Richard J. Gordon", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/honasan17th.jpg", :name=>"Gregorio B. Honasan II", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/hontiveros17th.jpg", :name=>"Risa Hontiveros", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/lacson17th.jpg", :name=>"Panfilo \"Ping\" M. Lacson", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/legarda_loren17th.jpg", :name=>"Loren B. Legarda", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/pacquiao17th.jpg", :name=>"Emmanuel \"Manny\" D. Pacquiao", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/pangilinan17th.jpg", :name=>"Francis \"Kiko\" Pangilinan", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/pimentel_koko17th.jpg", :name=>"Aquilino \"Koko\" Pimentel III", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/poe_grace17th.jpg", :name=>"Grace L. Poe", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/trillanes17th.jpg", :name=>"Antonio \"Sonny\" F. Trillanes IV", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/villanueva17th.jpg", :name=>"Joel Villanueva", :post=>nil} {:image=>"http://www.senate.gov.ph/senators/images/villar_cynthia17th.jpg", :name=>"Cynthia A. Villar", :post=>nil}

Data

Downloaded 1 time by SmartVMDev

To download data sign in with GitHub

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

rows 10 / 27

Statistics

Average successful run time: less than a minute

Total run time: 26 days

Total cpu time used: 36 minutes

Total disk space used: 158 KB

History

  • Auto ran revision d222cac7 and completed successfully .
    24 records added, 24 records removed in the database
  • Auto ran revision d222cac7 and completed successfully .
    24 records added, 24 records removed in the database
  • Auto ran revision d222cac7 and completed successfully .
    24 records added, 24 records removed in the database
  • Auto ran revision d222cac7 and completed successfully .
    24 records added, 24 records removed in the database
  • Auto ran revision d222cac7 and completed successfully .
    24 records added, 24 records removed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

philippines-senate / scraper.rb