Skip to content

WIP: Addition of a timer to virustotal checks#593

Open
nimrod-a wants to merge 3 commits intomvt-project:mainfrom
nimrod-a:feature/virustotal_timer
Open

WIP: Addition of a timer to virustotal checks#593
nimrod-a wants to merge 3 commits intomvt-project:mainfrom
nimrod-a:feature/virustotal_timer

Conversation

@nimrod-a
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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

@besendorf
Copy link
Copy Markdown
Collaborator

Hey @nimrod-a are you still working on this? :)

@nimrod-a
Copy link
Copy Markdown
Contributor Author

The feature was pretty much done. I will test it again this week and give an update!

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.

3 participants