-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Description
Hi,
I can only scan ~100 files and then I have to switch to another network to scan additional ~100 files instead of scanning 500 files in a single network.
I always get a QuotaExceededError.
[...]
client = vt.Client(VT_API_KEY)
[...]
[...]
try:
if 'analysis' in locals():
analysis_id = analysis.id
while True:
analysis_obj = client.get_object(f"/analyses/{analysis_id}")
if analysis_obj.status == "completed":
break
time.sleep(5)
report = client.get_object(f"/files/{file_hash}")
with open(report_path, "w") as f:
json.dump(report.to_dict(), f, indent=2)
print(f"Report saved: {report_path}")
return True
except Exception as e:
print(f"!! Error during analysis: {e}")
return False
[...]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels