This commit is contained in:
Jing Ling
2020-10-25 12:17:39 +08:00
parent c6a83497be
commit 904a2d13d7
4 changed files with 5 additions and 6 deletions
+2 -3
View File
@@ -1,12 +1,11 @@
import os
from sys import stdout
from collections import OrderedDict
from contextlib import contextmanager
from inspect import isclass
from .tablib import tablib
from sqlalchemy import create_engine, exc, inspect, text
from .tablib import tablib
DATABASE_URL = os.environ.get('DATABASE_URL')
+1 -1
View File
@@ -6,7 +6,7 @@
```python
enable_all_module = False # 不开启所有模块
enable_partial_module = [('modules.search', 'ask')('modules.search', 'baidu')] # 只使用ask和baidu搜索引擎收集子域
enable_partial_module = [('modules.search', 'ask'), ('modules.search', 'baidu')] # 只使用ask和baidu搜索引擎收集子域
```
如果你指定使用某些模块使用代理可以在[api.py](../oneforall/config/api.py)中设置:
+1 -1
View File
@@ -332,7 +332,7 @@ class ParseException(Exception):
class Token(object):
def __init__(self, type: TOKEN_TYPE, name: str = '', value: bool = False):
def __init__(self, type, name='', value=False):
self.type = type
self.name = name
self.value = value