mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-25 00:56:14 +08:00
新增Webanalyzer模块
This commit is contained in:
+6
-1
@@ -18,7 +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 modules import iscdn, webanalyzer
|
||||
from config import setting
|
||||
from config.log import logger
|
||||
from takeover import Takeover
|
||||
@@ -220,6 +220,11 @@ class OneForAll(object):
|
||||
self.data = iscdn.check_cdn(self.data)
|
||||
iscdn.save_db(self.domain, self.data)
|
||||
|
||||
# webanalyzer
|
||||
analyzer = webanalyzer.Webanalyzer()
|
||||
self.data = analyzer.run(self.data)
|
||||
analyzer.save_db(self.domain,self.data)
|
||||
|
||||
# Add the final result list to the total data list
|
||||
self.datas.extend(self.data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user