Merge pull request #243 from AVGirl/AVGirl-patch-1

Update virustotal_api.py
This commit is contained in:
Jing Ling
2021-12-30 09:57:38 +08:00
committed by GitHub
+2
View File
@@ -28,6 +28,8 @@ class VirusTotalAPI(Query):
self.subdomains.update(subdomains) self.subdomains.update(subdomains)
data = resp.json() data = resp.json()
next_cursor = data.get('meta').get('cursor') next_cursor = data.get('meta').get('cursor')
if not next_cursor:
break
def run(self): def run(self):
""" """