运行报这个错误是因为什么原因?
python emailall.py --domain xxx.com run
File "/opt/emailall/emailall/modules/datasets/Emailf.py", line 8, in <module> from common.search import Search File "/opt/emailall/emailall/common/search.py", line 5, in <module> from modules.module import Module File "/opt/emailall/emailall/modules/module.py", line 50, in <module> 'User-Agent': ua.random, AttributeError: 'str' object has no attribute 'random'
运行报这个错误是因为什么原因?
python emailall.py --domain xxx.com run
File "/opt/emailall/emailall/modules/datasets/Emailf.py", line 8, in <module> from common.search import Search File "/opt/emailall/emailall/common/search.py", line 5, in <module> from modules.module import Module File "/opt/emailall/emailall/modules/module.py", line 50, in <module> 'User-Agent': ua.random, AttributeError: 'str' object has no attribute 'random'