ciudadanointeligente / pmocl-agendas

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


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 failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:223:in `open_loop': redirection forbidden: http://www.senado.cl/appsenado/index.php?mo=sesionessala&ac=doctosSesion&tipo=27 -> https://www.senado.cl/appsenado/index.php?mo=sesionessala&ac=doctosSesion&tipo=27 (RuntimeError) from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:149:in `open_uri' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:689:in `open' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:34:in `open' from scraper.rb:79:in `read' from scraper.rb:171:in `doc_locations' from scraper.rb:43:in `process' from scraper.rb:266:in `<main>'

Data

Downloaded 272988 times by ciudadanointeligente jdgarrido damian-garrido rezzo MikeRalphson

To download data sign in with GitHub

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

rows 10 / 365

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: 39 minutes

Total disk space used: 195 KB

History

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

Show complete history

Scraper code

Ruby

pmocl-agendas / scraper.rb