Ruby: Reddit API and HTML output