module Planetruby2feed::Scraper
Attributes
webpage[RW]
Public Instance Methods
analyze()
click to toggle source
# File lib/planetruby2feed/scraper.rb, line 8 def analyze get_page end
get_page()
click to toggle source
# File lib/planetruby2feed/scraper.rb, line 12 def get_page begin @webpage = Nokogiri::HTML(open(Planetruby2feed::URL)) rescue Exception => e @logger.fatal e.message end end