Created
December 27, 2012 03:12
-
-
Save maeharin/4385148 to your computer and use it in GitHub Desktop.
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
ruby -r open-uri -e 'open("http://b.hatena.ne.jp/hotentry") {|f| puts f.read.scan(/entry-link.+?>(.+?)</)}' | sed -e "s/続きを読む//g" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment