class CliEplTable::Scraper

Public Class Methods

scrape_site() click to toggle source

scrape premierleague.com/tables for the html

# File lib/cli_epl_table/scraper.rb, line 6
def self.scrape_site
  doc = Nokogiri::HTML(open("https://www.premierleague.com/tables"))
end