Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feed file download example #32

Open
malwarefrank opened this issue Oct 29, 2023 · 1 comment
Open

Feed file download example #32

malwarefrank opened this issue Oct 29, 2023 · 1 comment

Comments

@malwarefrank
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant