Skip to content

Instantly share code, notes, and snippets.

@maeharin
Last active December 10, 2015 04:58
Show Gist options
  • Save maeharin/4385083 to your computer and use it in GitHub Desktop.
Save maeharin/4385083 to your computer and use it in GitHub Desktop.
ruby -r open-uri -e 'open("http://uni.2ch.net/newsplus/") {|f| puts f.read.scan(/<a.+?>\d+?:\s(.+?)</)}' | nkf -w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment