Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'csv'
- urls = []
- CSV.foreach('websites.csv') do |row|
- urls << row[0]
- end
- 0.upto(999) do |i, x = 0|
- if i % 19 == 0
- puts urls[(x..i)]
- puts "----------------------------------------"
- x = i+1
- end
- end
- ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement