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

Contributors tmtmtmtm octopusinvitro

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.3.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  Using bundler 1.15.2  Fetching coderay 1.1.1  Fetching colorize 0.8.1  Fetching excon 0.51.0  Installing coderay 1.1.1  Installing colorize 0.8.1  Fetching execjs 2.7.0  Installing execjs 2.7.0  Fetching multipart-post 2.0.0  Installing excon 0.51.0  Installing multipart-post 2.0.0  Fetching fuzzy_match 2.1.0  Fetching hashie 3.4.4  Installing fuzzy_match 2.1.0  Installing hashie 3.4.4  Fetching httpclient 2.8.0  Fetching method_source 0.8.2  Fetching mini_portile2 2.1.0  Installing method_source 0.8.2  Installing mini_portile2 2.1.0  Fetching pkg-config 1.1.7  Fetching open-uri-cached 0.0.5  Installing open-uri-cached 0.0.5  Fetching slop 3.6.0  Installing pkg-config 1.1.7  Installing slop 3.6.0  Fetching sqlite3 1.3.11  Fetching faraday 0.9.2  Installing faraday 0.9.2  Installing httpclient 2.8.0  Installing sqlite3 1.3.11 with native extensions  Fetching nokogiri 1.6.8  Fetching pry 0.10.4  Installing pry 0.10.4  Fetching faraday_middleware 0.10.0  Installing faraday_middleware 0.10.0  Fetching wikidata-client 0.0.10  Installing wikidata-client 0.0.10  Installing nokogiri 1.6.8 with native extensions  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)  Bundle complete! 8 Gemfile dependencies, 22 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (17.77s)  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... /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/protocol.rb:158:in `rbuf_fill': Net::ReadTimeout (Net::ReadTimeout) from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/protocol.rb:136:in `readuntil' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/protocol.rb:146:in `readline' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/http/response.rb:40:in `read_status_line' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/http/response.rb:29:in `read_new' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/http.rb:1437:in `block in transport_request' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/http.rb:1434:in `catch' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/http.rb:1434:in `transport_request' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/http.rb:1407:in `request' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/open-uri.rb:325:in `block in open_http' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/net/http.rb:853:in `start' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/open-uri.rb:319:in `open_http' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/open-uri.rb:737:in `buffer_open' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/open-uri.rb:212:in `block in open_loop' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/open-uri.rb:210:in `catch' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/open-uri.rb:210:in `open_loop' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/open-uri.rb:151:in `open_uri' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/open-uri.rb:717:in `open' from /app/vendor/ruby-2.3.0/lib/ruby/2.3.0/open-uri.rb:35:in `open' from scraper.rb:12:in `<main>'

Data

Downloaded 1478 times by everypolitician piducancore tmtmtmtm MikeRalphson Cristoph

To download data sign in with GitHub

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

rows 10 / 850

id name sort_name gender email district party party_id term
177
Felipe Letelier Norambuena
Letelier
male
8
802
Sergio Aguiló Melo
Aguiló
male
8
811
Ramón Barros Montero
Barros
male
8
813
Germán Becker Alvear
Becker
male
8
819
Guillermo Ceroni Fuentes
Ceroni
male
8
836
Marcos Espinosa Monardes
Espinosa
male
8
837
Fidel Espinoza Sandoval
Espinoza
male
8
839
Ramón Farías Ponce
Farías
male
8
843
René Manuel García García
García
male
8
846
Joaquín Godoy Ibáñez
Godoy
male
8

Statistics

Average successful run time: 1 minute

Total run time: 9 days

Total cpu time used: 33 minutes

Total disk space used: 120 KB

History

  • Auto ran revision 71042f51 and failed .
    nothing changed in the database
  • Auto ran revision 71042f51 and failed .
    nothing changed in the database
  • Auto ran revision 71042f51 and failed .
    nothing changed in the database
  • Auto ran revision 71042f51 and failed .
    nothing changed in the database
  • Auto ran revision 71042f51 and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

chile-opendata / scraper.rb