Class: CliEplTable::Scraper

Inherits:
Object
  • Object
show all
Defined in:
lib/cli_epl_table/scraper.rb

Class Method Summary collapse

Class Method Details

.scrape_siteObject

scrape premierleague.com/tables for the html



6
7
8
# File 'lib/cli_epl_table/scraper.rb', line 6

def self.scrape_site
  doc = Nokogiri::HTML(open("https://www.premierleague.com/tables"))
end