break out category-scraper-code.rb