ciudadanointeligente / pmocl-agendas

Scraper for Chilean's low chamber (camara.cl) and high chamber (senado.cl)

Scrapes www.senado.cl

Senado - República de Chile - Inicio


pmocl-agendas

Scraper for Chilean's low chamber (camara.cl) and high chamber (senado.cl) agendas. This is a scraper that runs on Morph. To get started see the documentation

Everything else:

For more information about us, our site Fundación Ciudadano Inteligente. And if you want help with patches, report bugs or replicate our project check our repositories.

Contributors rezzo damian-garrido

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.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/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.  Fetching Ascii85 1.0.2  Installing Ascii85 1.0.2  Fetching afm 0.2.0  Installing afm 0.2.0  Using bundler 1.15.2  Fetching unf_ext 0.0.7.1  Installing unf_ext 0.0.7.1 with native extensions  Fetching hashery 2.1.1  Installing hashery 2.1.1  Fetching json 1.8.1  Installing json 1.8.1 with native extensions  Fetching multi_xml 0.5.5  Installing multi_xml 0.5.5  Fetching httpclient 2.6.0.1  Installing httpclient 2.6.0.1  Fetching mime-types 2.1  Installing mime-types 2.1  Fetching net-http-digest_auth 1.4  Installing net-http-digest_auth 1.4  Fetching net-http-persistent 2.9.4  Installing net-http-persistent 2.9.4  Fetching mini_portile 0.5.2  Installing mini_portile 0.5.2  Fetching ntlm-http 0.1.1  Installing ntlm-http 0.1.1  Fetching webrobots 0.1.1  Installing webrobots 0.1.1  Fetching ruby-rc4 0.1.5  Installing ruby-rc4 0.1.5  Fetching ttfunk 1.1.0  Installing ttfunk 1.1.0  Fetching sqlite3 1.3.10  Installing sqlite3 1.3.10 with native extensions  Fetching unf 0.1.4  Installing unf 0.1.4  Fetching httparty 0.12.0  Installing httparty 0.12.0  Fetching rest-client 1.6.7  Installing rest-client 1.6.7  Fetching nokogiri 1.6.1  Installing nokogiri 1.6.1 with native extensions  Fetching pdf-reader 1.3.3  Installing pdf-reader 1.3.3  Fetching sqlite_magic 0.0.5  Installing sqlite_magic 0.0.5  Fetching domain_name 0.5.24  Installing domain_name 0.5.24  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Fetching http-cookie 1.0.2  Installing http-cookie 1.0.2  Fetching mechanize 2.7.3  Installing mechanize 2.7.3  Bundle complete! 6 Gemfile dependencies, 27 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Post-install message from httparty:  When you HTTParty, you must party hard!  Post-install message from pdf-reader:  ********************************************  v1.0.0 of PDF::Reader introduced a new page-based API. There are extensive  examples showing how to use it in the README and examples directory.  For detailed documentation, check the rdocs for the PDF::Reader,  PDF::Reader::Page and PDF::Reader::ObjectHash classes.  The old API is marked as deprecated but will continue to work with no  visible warnings for now.  ********************************************  Bundle completed (28.88s)  Cleaning up the bundler cache. -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... Adds new record S366-11

Data

Downloaded 236570 times by ciudadanointeligente jdgarrido damian-garrido rezzo MikeRalphson

To download data sign in with GitHub

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

rows 10 / 285

uid date chamber legislature session bill_list date_scraped
S363-68
2015-11-10
Senado
363
68
["10130-11","9914-11","9917-03","9602-11","9915-03","10035-17","9720-13","10056-08","9729-03","10-10","015-17","10015-17","10133-03","12-37","49610226-03","139640-15","9640-15","9962-12","159939-14","9939-14","10094-12"]
2015-11-05
C363-90
C.Diputados
363
90
["9766-04","10272-10","9776-24","10185-06","9659-13"]
2015-11-05
C363-91
C.Diputados
363
91
["10272-10","8132-26","10074-02","9888-10","9918-10"]
2015-11-06
C363-92
2015-11-11
C.Diputados
363
92
["9659-13","9958-17","9966-10","9968-10"]
2015-11-11
S363-69
2015-11-11
Senado
363
69
["3880-14","9917-03","9939-14","9602-11","9915-03","10035-17","9720-13","10056-08","9729-03","10-10","015-17","10015-17","10133-03","12-37","49610226-03","139640-15","9640-15","9962-12","15-28","10094-12","9028-03","10366-03"]
2015-11-12
C363-93
C.Diputados
363
93
["9950-03","9965-10","9971-10","10177-10"]
2015-11-12
S363-70
2015-11-17
Senado
363
70
["6454-07","9028-03","10366-03","49597-07","9597-07","9939-14","9602-11","9915-03","10035-17","9720-13","10056-08","9729-03","12-10","015-17","10015-17","10133-03","14-37","49610226-03","159640-15","9640-15","9962-12","17-28","10094-12","10294-15"]
2015-11-13
S363-71
2015-11-18
Senado
363
71
["9939-14","9640-15","10366-03","9597-07","9602-11","9915-03","10035-17","9720-13","10056-08","9729-03","10015-17","10133-03","10226-03","9962-12","14-28","10094-12","10294-15"]
2015-11-18
C363-97
2015-11-18
C.Diputados
363
97
["10300-05"]
2015-11-18
C363-98
2015-11-19
C.Diputados
363
98
["10323-10","3880-14","9958-17","9776-24","9888-10","9918-10"]
2015-11-19

Statistics

Average successful run time: 1 minute

Total run time: about 1 month

Total cpu time used: 27 minutes

Total disk space used: 172 KB

History

  • Auto ran revision 914623d9 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision 914623d9 and completed successfully .
    nothing changed in the database
    2 pages scraped
  • Auto ran revision 914623d9 and completed successfully .
    nothing changed in the database
    2 pages scraped
  • Auto ran revision 914623d9 and completed successfully .
    nothing changed in the database
    2 pages scraped
  • Auto ran revision 914623d9 and completed successfully .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

pmocl-agendas / scraper.rb