require 'nokogiri'
require 'open-uri'

class Esb
  def self.get_color
    doc = Nokogiri::HTML(open("http://www.esbnyc.com/current_events_tower_lights.asp"))
    puts " "
    puts doc.css("#page-title").text.strip
    puts " "
  end
end

require 'nokogiri'
require 'open-uri'

class Esb
  def self.get_color
    doc = Nokogiri::HTML(open("https://www.esbnyc.com/explore/tower-lights"))
    puts " "
    puts doc.css(".view-tower-lighting #page-title").text.strip
    puts " "
  end
end

Update URL and CSS selector.
Update URL and CSS selector.

Scraping an ever-changing web is hard work
