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

正则到mysql数据库的时候出点错 #4

Open
52nome opened this issue Jan 19, 2017 · 8 comments
Open

正则到mysql数据库的时候出点错 #4

52nome opened this issue Jan 19, 2017 · 8 comments

Comments

@52nome
Copy link

52nome commented Jan 19, 2017

Traceback (most recent call last):
File "app2.py", line 25, in
corp=xml.xpath("//h3[@Class='wybug_corp']//a")[0].text.replace(' ','').replace('\n','')
AttributeError: 'NoneType' object has no attribute 'xpath'

不知道是咋回会,求解答

@grt1st
Copy link
Owner

grt1st commented Jan 23, 2017

小伙子你是不是没装lxml

@52nome
Copy link
Author

52nome commented Jan 23, 2017

我用pip install lxml 试过 去pipy也下过 lxml的安装包 手动也安装过 python setup.py install 都提示上面的错误 这应该是空的原音造成的吧?

@52nome
Copy link
Author

52nome commented Jan 23, 2017

我服务区试过 本地 Ubuntu 和debian都试过 难道是我安装的有问题?

@grt1st
Copy link
Owner

grt1st commented Jan 24, 2017

1.虽然你安装过,但是你到底装没装上?

# python
> import lxml
>

2.你是根本不能运行,还是跑了几行开始报错?

@grt1st
Copy link
Owner

grt1st commented Jan 24, 2017

哦对了,你看看bugs文件夹里有没有index.html,先把那个删了

@52nome
Copy link
Author

52nome commented Jan 24, 2017

正则完数据之后 就报错了 我不可能笨到连Python模块都不会安装 然后还去搭建乌云的

@52nome
Copy link
Author

52nome commented Jan 24, 2017

能否给个比较方便的联系方式?
比如 微信 QQ 或者?

@zybug
Copy link

zybug commented Apr 10, 2017

@52nome 可以查看https://github.com/zybug/wooyun_search 直接下载sql文件,导入数据库

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

3 participants