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
Find or create an issue
Add a comment to the issue to let people know you're going to work on it
Fork
Hack your changes in a topic branch (don't forget to write some tests ;)
Make pull request
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.