Ruby project

Posted December 9, 2017

Taken by Stacy Wyss

Ruby. There's times I absolutely hate it, and there's times I'm cool with it. This was actualy one of the times I enjoyed it. For my Ruby CLI project I decided to scrape r/ruby, and reddit made it super easy to get all the info. Maybe in an upcoming update I'll add the ability to pass in a subreddit as a parameter so it'll be more versatile, but for now its just r/ruby. The scraping itself is done with Nokogiri inside the scraper class.

Check it out on github or on rubygems

Update: as of 1.0.8, it supports any public subreddit.