Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (1..200).each do |a|
- (1..10).each do |b|
- File.open("images/#{a}_#{b}.png", "wb") do |f|
- open("http://megaresheba.ru/006/11/b02-exam-2014-1/#{a}/#{b}.png", "rb") do |read_file|
- f.write(read_file.read)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment