vt-go icon indicating copy to clipboard operation
vt-go copied to clipboard

Feed file download example

Open malwarefrank opened this issue 1 year ago • 1 comments

The current example only prints the sha256 of each file in the feed, see example/feed.go. It would help if that example also shows how to access the download_url and download the file, like the vt-py example.

malwarefrank avatar Oct 29 '23 02:10 malwarefrank

This may require a change to the vt-go package. The exposed functions, like Get and GetData, appear to assume a JSON response.

The simplest fix may be to add sendRequest to that list, as it does not parse the response.

malwarefrank avatar Oct 29 '23 03:10 malwarefrank