Scrape currently scheduled event from EOLclub.org. Built for automating updates to PVDTechEvents.com.
NOTE: Current implementation is extremely fragile, and will very likely break if any changes are made to EOLclub.org's layout. Use at your own risk.
Add this line to your application's Gemfile:
gem 'eolclub_scraper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install eolclub_scraper
require 'eolclub_scraper'
event = EolclubScraper.scheduled_event
event.start_time #=> 2013-12-09 18:00:00 -0500
event.end_time #=> 2013-12-09 23:00:00 -0500
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request