grab
grab copied to clipboard
A download manager package for Go
how many internally call http requests? if file exists one head request, is it only this call? or have another? i need to get header ("auth") of the head request...
Server will return Etag in headers. The Etag is this hash value of the response's body. So When dumping body to file, i need a callback to streamy get body...
I'm using grab for the first time, and I've written a function that takes a directory and a list of URLs, and uses grab to download the specified URLs to...
Here is a new requirement, and the case is: a large file on the internet which has multiple mirror download links, and the md5sum is the same. the mirror http...
Current test files generate garbage files that dangle on early termination and break subsequent tests.
Currently if I try to download a file that gives a 302 response, the Content-Length retrieved will be incorrect and cause the download to fail Edit: Made some changes for...
In Windows command line (cmd.exe), the download status is shown in multiple lines. ie, each download update is shown in a separate new line. But the output is fine in...
The specification described [here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent) suggests that UserAgent must follow a particular format. It seems that GitHub has decided to strictly enforce the [requirement](https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28#user-agent-required). The fix includes the version of grab...
``` resp, err := grab.Get(".", "some-zip-file") if err != nil { log.Info(err) } ``` This gives the error `server returned 403 Forbidden` Try with `https://github.com/cavaliergopher/grab/archive/refs/tags/v3.0.1.zip`, it'll show you the error
This is an implementation of an optional feature to have a `Request` download the payload in multiple chunks, using a "Range" request, if supported by the server. ## API updates...