class MovieFinder::Scraper

Public Class Methods

ca_scraper() click to toggle source
# File lib/movie_finder/scraper.rb, line 9
def self.ca_scraper
  data = self.feature_scraper
  ca_html = data.css("div.show p.soon + a").attribute('href').value
  ca_data = Nokogiri::HTML(open(ca_html))
end
feature_scraper() click to toggle source
# File lib/movie_finder/scraper.rb, line 3
def self.feature_scraper
  html = "http://www.dedhamcommunitytheatre.com/"
  data = Nokogiri::HTML(open(html))
  data
end