Skip to content

Instantly share code, notes, and snippets.

@maeharin
Created December 27, 2012 03:18
Show Gist options
  • Save maeharin/4385183 to your computer and use it in GitHub Desktop.
Save maeharin/4385183 to your computer and use it in GitHub Desktop.
ruby -r open-uri -e 'open("http://www.yahoo.co.jp") {|f| puts f.read.scan(/topics.+?>(.+?)</)}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment