Skip to content

Instantly share code, notes, and snippets.

@makimoto
Created December 26, 2010 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save makimoto/755507 to your computer and use it in GitHub Desktop.
Save makimoto/755507 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
# vim:fileencoding=utf-8
require 'open-uri'
(100...1000).each do |i|
sleep 1
x = open("http://pbh.jp/#{i}/") rescue next
puts i
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment