添加cdn判断模块

This commit is contained in:
Jing Ling
2020-07-26 03:23:15 +08:00
parent ca8d34ee8d
commit 91f272f4b6
10 changed files with 797 additions and 17 deletions
+5
View File
@@ -18,6 +18,7 @@ from common import utils, resolve, request
from common.database import Database
from modules.collect import Collect
from modules.finder import Finder
from modules import iscdn
from config import setting
from config.log import logger
from takeover import Takeover
@@ -215,6 +216,10 @@ class OneForAll(object):
finder = Finder()
self.data = finder.run(self.domain, self.data, self.port)
# check cdn
self.data = iscdn.check_cdn(self.data)
iscdn.save_db(self.domain, self.data)
# Add the final result list to the total data list
self.datas.extend(self.data)