We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
/fofa/client.py 第166行 def search_next(self, query_str, fields='', size=100, next='', full=False, opts={}): 建议opts使用None类型先判断参数
def search_next(self, query_str, fields='', size=100, next='', full=False, opts={}):
def search_next(self, query_str, fields='', size=100, next='', full=False, opts=None): if opts is None: opts = {}
或者208行
if next and next != '': param['next'] = next
修改为:
if next: param['next'] = next # 如果 next 变量为空字符串,且 'next' 键已经存在于 param 字典中,则删除该键 elif 'next' in param: del param['next']
其它参数位置使用{}作为默认参数同理
The text was updated successfully, but these errors were encountered:
No branches or pull requests
/fofa/client.py
第166行
def search_next(self, query_str, fields='', size=100, next='', full=False, opts={}):
建议opts使用None类型先判断参数
或者208行
修改为:
其它参数位置使用{}作为默认参数同理
The text was updated successfully, but these errors were encountered: