mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
set使用update
This commit is contained in:
@@ -30,7 +30,7 @@ class VirusTotal(Query):
|
||||
subdomains = self.match_subdomains(resp)
|
||||
if not subdomains:
|
||||
break
|
||||
self.subdomains = self.subdomains.union(subdomains)
|
||||
self.subdomains.update(subdomains)
|
||||
data = resp.json()
|
||||
next_cursor = data.get('meta').get('cursor')
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ class VirusTotalAPI(Query):
|
||||
subdomains = self.match_subdomains(resp)
|
||||
if not subdomains:
|
||||
break
|
||||
self.subdomains = self.subdomains.union(subdomains)
|
||||
self.subdomains.update(subdomains)
|
||||
data = resp.json()
|
||||
next_cursor = data.get('meta').get('cursor')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user