ruby - How to zip the content from a set of urls -


i have list of urls:

urls = ["google.com", ..., ...]

i zip content of urls after getting them, without downloading them , zipping them.

is there way pipe content rubyzip? , keeps adding things zip?

something like:

photos.each |photo|   zip["photo_#{photo.id}.png"] = file.open(photo.url) end 


Comments

Popular posts from this blog

c# - HttpResponseMessage System.InvalidOperationException -

sql - Postgresql error: "failed to find conversion function from unknown to text" -