Open gonejack opened 3 years ago
yes, it is a good feature, i would also like to support this feature
@gonejack @cellargalaxy check this out. I just added support for grab.NewRequestToWriter
.
https://github.com/opensaucerer/grab#this-extended-version-of-the-original-cavaliergophergrab-now-allows-you-to-download-files-into-a-given-iowriter
It will be more easy to migrate from code like
io.Copy(writer, resp.Body)
tograb
ifgrab
supports new download to an opened writer.