Closed emreozudogru closed 4 years ago
If you want to get the uncompressed stream you can use the Client.DownloadZoneToWriter and pass the stream to gzip.NewReader using io.Pipe.
Since CZDS provides compressed files, and its trivial to extract them after downloading with a simple shell script I'm not super enthusiastic about adding the option, but I would accept a pull request that adds this to CZDS-DL behind a -uncompress
flag. Or you can use add that logic to your own client.
Closing this for reasons in the previous comment.
Is it possible to add download and extract option?