mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
优化
This commit is contained in:
@@ -11,7 +11,7 @@ class CheckRobots(Module):
|
||||
"""
|
||||
def __init__(self, domain):
|
||||
Module.__init__(self)
|
||||
self.domain = self.register(domain)
|
||||
self.domain = self.get_maindomain(domain)
|
||||
self.module = 'Check'
|
||||
self.source = 'Robots'
|
||||
|
||||
@@ -30,7 +30,7 @@ class CheckRobots(Module):
|
||||
if not resp:
|
||||
return
|
||||
if resp and len(resp.content):
|
||||
self.subdomains = self.match_subdomains(self.domain, resp.text)
|
||||
self.subdomains = self.match_subdomains(resp.text)
|
||||
|
||||
def run(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user