Name: Anonymous 2010-11-20 17:24
Hey /prog/...
I don't know jack about HTTP, but I'm trying to make an autovoter in ruby. Is this how it should look?
I don't know jack about HTTP, but I'm trying to make an autovoter in ruby. Is this how it should look?
require 'net/http'
require 'uri'
url = URI.parse('http://polls.polldaddy.com/vote-js.php?p=3844748&b=1&a=17477211,&o=&va=0&cookie=0&url=http%3A//www.birthornot.com/')
1000000.times do
res = Net::HTTP.start(url.host, url.port) { |http| http.get('/vote-js.php?p=3844748&b=1&a=17477211,&o=&va=0&cookie=0&url=http%3A//www.birthornot.com/')
}
end