Scrapes the index page of a user-selected New York Times category and uses Apple's text-to-speech functionality to read a random story from that category back to the user. Users can cycle through stories they want to hear or switch to a new category by following the command-line prompts.
To use:
- gem install nokogiri, mechanize, and pry
- run
ruby news_reader - enter the category you wish to hear a story from (politics, world, technology, etc...)
- follow the prompts to listen to a story from that category or select another