Rubygems | Latest Versions for ruby-reddithttps://rubygems.org/gems2023-09-28T02:00:20Zruby-reddit (0.2.0)https://rubygems.org/gems/ruby-reddit/versions/0.2.02009-07-25T17:55:38ZJulia WestPlug reddit.com into your ruby apps.
== FEATURES/PROBLEMS: * Scrapes links from reddit's hot page and new page. == SYNOPSIS: require "reddit" # Get all the links from the "hot" page links = Reddit.read :hot # Check out the links! for link in links puts link.rank puts link.site_id puts link.url puts link.title puts link.date end # Get all the links from the first page of the ruby subreddit ruby_links = Reddit.read :ruby # Get all the links from the second page of the ruby subreddit ruby_links_2 = Reddit.read :ruby, :page => 1 == REQUIREMENTS: * hpricot * open-uri * mechanize ruby-reddit (0.1.1)https://rubygems.org/gems/ruby-reddit/versions/0.1.12009-07-25T17:55:38ZJulia WestPlug reddit.com into your ruby apps.
== FEATURES/PROBLEMS: * Scrapes links from reddit's hot page and new page. == SYNOPSIS: # Get all the "hot" links on the first page links = Reddit::Data.read :hot, :page => 0 # Check out the links! for link in links puts link.rank puts link.site_id puts link.url puts link.title puts link.date end == REQUIREMENTS: * hpricot * open-uri * mechanize ruby-reddit (0.1.0)https://rubygems.org/gems/ruby-reddit/versions/0.1.02009-07-25T17:55:38ZJulia WestPlug reddit.com into your ruby apps.
== FEATURES/PROBLEMS: * Scrapes links from reddit's hot page and new page. == SYNOPSIS: # Get all the "hot" links on the first page links = Reddit::Data.read :hot, :page => 0 # Check out the links! for link in links puts link.rank puts link.site_id puts link.url puts link.title puts link.date end == REQUIREMENTS: * hpricot * open-uri * mechanize