Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3 manage.py inserturl input_subdomain.txt,数据展示、监控域名捕获数量中都没有新增子域名 #29

Open
kesonn opened this issue Jan 15, 2020 · 10 comments

Comments

@kesonn
Copy link

kesonn commented Jan 15, 2020

python3 manage.py inserturl input_subdomain.txt
执行过程很慢,然后执行完终端没有打印任何提示语句,数据展示、监控域名捕获数量中都没有新增子域名
我是重新部署新版本的,但是执行两条命令:1. python3 manage.py makemigrations 2. python3 manage.py migrate
还是不行
请问会有什么原因呢

@LangziFun
Copy link
Owner

您确定文本路径是否正确?

@kesonn
Copy link
Author

kesonn commented Jan 16, 2020

image
可以确认路径没有错
其次,txt内的子域名有无https://,我都试过了。
然后倒入执行后,执行时间很慢,且没有输出

@LangziFun
Copy link
Owner

导入执行后,执行时间慢的原因是在获取所有监控域名泛解析数据对照表。
其次确保input_subdomain.txt与manage.py在同一文件夹下面后,执行命令
python3 manage.py inserturl input_subdomain.txt
如果还是如此,建议重新clone代码

@kesonn
Copy link
Author

kesonn commented Jan 16, 2020

大佬好,我整个源码以及数据库都是重新搭建的。
其次,txt在manage. py同一目录下

@LangziFun
Copy link
Owner

我推断了一下,您可能需要在inserturl之前先执行initial

@kesonn
Copy link
Author

kesonn commented Jan 16, 2020

真的可以了,感谢大佬!!!!!!!

@kesonn
Copy link
Author

kesonn commented Jan 16, 2020

image
只是我有个问题,为什么提示不在监控范围内呢
image

@kesonn
Copy link
Author

kesonn commented Jan 16, 2020

数据展示里也没有搜到新增的子域名

@LangziFun
Copy link
Owner

你的子域名监控状态你设置成了 否 呀~

@kesonn
Copy link
Author

kesonn commented Jan 17, 2020

感谢感谢,可以添加子域名了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants