mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
set使用update
This commit is contained in:
@@ -28,7 +28,7 @@ class ArchiveCrawl(Crawl):
|
||||
url = resp.data.get('url')
|
||||
subdomains = self.match_subdomains(self.get_maindomain(domain),
|
||||
url + resp.text)
|
||||
self.subdomains = self.subdomains.union(subdomains)
|
||||
self.subdomains.update(subdomains)
|
||||
|
||||
def run(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user