修复误把domain替换为subdomain的问题

This commit is contained in:
shmilylty
2019-08-18 02:12:12 +08:00
parent 3883a14365
commit 7ccddb93f7
5 changed files with 6 additions and 5 deletions
@@ -18,7 +18,7 @@ class CertSpotter(Query):
time.sleep(self.delay)
self.header = self.get_header()
self.proxy = self.get_proxy(self.source)
params = {'subdomain': self.domain,
params = {'domain': self.domain,
'include_subdomains': 'true',
'expand': 'dns_names'}
resp = self.get(self.addr, params)