Repository is archived
No commit activity in last 3 years
No release in over 3 years
Scrapper to get proposals from Spanish Congress
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

 Project Readme

Congress Scrapper

Introduction

Congress Scrapper is a Ruby gem to scrape the official Spanish parliament webpage.

Usage

  proposals = Congress::Scrapper.scrape # Array with Congress proposals
  proposal = proposals.first
  
  puts proposal.proposal_type
  >> "Proyecto de Ley"
  
  puts proposal.title
  >> "Proyecto de Ley de almacenamiento geológico de dióxido de carbono"

Install

  gem install congress-scrapper

Contribute

  1. Find or create an issue

  2. Add a comment to the issue to let people know you're going to work on it

  3. Fork

  4. Hack your changes in a topic branch (don't forget to write some tests ;)

  5. Make pull request

  6. Wait for comments from maintainers or code merge

Authors

Original author: Luismi Cavallé

Code extracted as a ruby gem by: Raimond García and Alberto Fernández-Capel

License

Released under the MIT license.