Class: CliEplTable::Scraper
- Inherits:
-
Object
- Object
- CliEplTable::Scraper
- Defined in:
- lib/cli_epl_table/scraper.rb
Class Method Summary collapse
-
.scrape_site ⇒ Object
scrape premierleague.com/tables for the html.
Class Method Details
.scrape_site ⇒ Object
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 |