You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
require 'nokogiri'
|
|
require 'csv'
|
|
require 'date'
|
|
|
|
restaurants = []
|
|
|
|
Dir.glob('html/restaurants-*.html') do |file|
|
|
page = Nokogiri::HTML(open(file))
|
|
page.css('.plr10').each do |div|
|
|
puts div.css('a')[0]['href']
|
|
end
|
|
end |