scraper.rb functional