Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (11 sloc) 0.262 kB
require "open-uri"
urls = []
10000.times { |i|
print " #{i} "
urls << open("http://stream.radio-t.com:8181/stream.m3u") { |io| io.read.chomp }
}
puts
grouped = urls.group_by { |v| v }
grouped.each_pair do |key, value|
puts "#{key}: #{value.size}"
end
Jump to Line
Something went wrong with that request. Please try again.