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

WIP: Addition of a timer to virustotal checks #593

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nimrod-a
Copy link

@nimrod-a nimrod-a commented Jan 1, 2025

This is a work-in-progress to add a -d/--delay option to the download-apks command, which enables the throttling of VirusTotal queries.

Inspired by virustotal-search.py, it has a default value of 16 seconds and utilizes time.sleep to add a delay between each VT API request.

This can be useful when using the free VT API, as checks are limited to 4 queries a minute and 500 a day.

While I have run pytest on the commits, I have not tested the changes using an actual backup / packages yet.
I will give an update once that is done!

@roaree
Copy link
Contributor

roaree commented Jan 6, 2025

Looks good! Feel free to ping here when it's ready for a review and we'll get it merged

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

Successfully merging this pull request may close these issues.

2 participants