Created
September 15, 2012 13:10
-
-
Save dschneider/3727773 to your computer and use it in GitHub Desktop.
Tells me the latest JellyTime rom version that has been released. Just to play around with Nokogiri a little.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/usr/bin/ruby | |
require 'uri' | |
require 'net/http' | |
require 'nokogiri' | |
URL = "http://forum.xda-developers.com/showthread.php?t=1778202" | |
text = Net::HTTP.get(URI.parse(URL)) | |
doc = Nokogiri::HTML(text) | |
doc.css('td.postTitle > div > h1 > a').each do |node| | |
puts node.text | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment