api配置分离

This commit is contained in:
Jing Ling
2020-02-10 20:11:15 +08:00
parent 3f8aa8b74d
commit 38c4de6896
21 changed files with 196 additions and 196 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import config
import api
from common import utils
from common.query import Query
@@ -10,7 +10,7 @@ class SpyseAPI(Query):
self.module = 'Certificate'
self.source = 'CertDBAPIQuery'
self.addr = 'https://api.spyse.com/v1/subdomains'
self.token = config.spyse_api_token
self.token = api.spyse_api_token
def query(self):
"""