mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-25 09:06:15 +08:00
typos
This commit is contained in:
@@ -4,15 +4,12 @@
|
||||
from common.check import Check
|
||||
|
||||
|
||||
class CheckRobots(Check):
|
||||
"""
|
||||
检查robots.txt收集子域名
|
||||
"""
|
||||
class Robots(Check):
|
||||
def __init__(self, domain):
|
||||
Check.__init__(self)
|
||||
self.domain = domain
|
||||
self.module = 'Check'
|
||||
self.source = 'Robots'
|
||||
self.module = 'check'
|
||||
self.source = 'RobotsCheck'
|
||||
|
||||
def check(self):
|
||||
"""
|
||||
@@ -39,7 +36,7 @@ def run(domain):
|
||||
|
||||
:param str domain: 域名
|
||||
"""
|
||||
check = CheckRobots(domain)
|
||||
check = Robots(domain)
|
||||
check.run()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user